Displaying 2 results from an estimated 2 matches for "bda3ee694".
2018 Feb 07
1
[PATCH] tmpdirs: Make the ‘su broken’ error message actionable.
...quot;tmpdirs: Blame systemd because su is broken."
This reverts commit 9464304d7a6b9b01e9eee32620ef3831e2b10875.
Replace with an actionable error message.
---
lib/tmpdirs.c | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/lib/tmpdirs.c b/lib/tmpdirs.c
index bda3ee694..804c58be0 100644
--- a/lib/tmpdirs.c
+++ b/lib/tmpdirs.c
@@ -180,18 +180,22 @@ guestfs_impl_get_sockdir (guestfs_h *g)
}
static int
-lazy_make_tmpdir (guestfs_h *g, char *(*getdir) (guestfs_h *g), char **dest)
+lazy_make_tmpdir (guestfs_h *g,
+ char *(*getdir) (guestfs_h *g),...
2017 Dec 18
0
[PATCH] tmpdirs: Blame systemd because su is broken.
---
lib/tmpdirs.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/lib/tmpdirs.c b/lib/tmpdirs.c
index 605bf90fb..bda3ee694 100644
--- a/lib/tmpdirs.c
+++ b/lib/tmpdirs.c
@@ -24,6 +24,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <libintl.h>
@@ -185,7 +186,12 @@ lazy_make_tmpdir (guestfs_h *g, char *(*getdi...