search for: 7b33a3a

Displaying 3 results from an estimated 3 matches for "7b33a3a".

Did you mean: 6b31a3a
2015 Oct 05
1
[PATCH] daemon: use str_udevadm in udev_settle
...for udevadm (so it is marked as "used tool" in the appliance), but it is not actually used when starting udevadm. There should be no behaviour change. --- daemon/guestfsd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/daemon/guestfsd.c b/daemon/guestfsd.c index 7b33a3a..4502190 100644 --- a/daemon/guestfsd.c +++ b/daemon/guestfsd.c @@ -1501,7 +1501,8 @@ udev_settle (void) char cmd[80]; int r; - snprintf (cmd, sizeof cmd, "udevadm%s settle", verbose ? " --debug" : ""); + snprintf (cmd, sizeof cmd, "%s%s settle", +...
2015 Oct 05
0
[PATCH 2/2] Fix whitespace.
...h, "/sys/block/%s/device", - device + strlen ("/dev/")) == -1) - { + device + strlen ("/dev/")) == -1) { reply_with_perror ("asprintf"); return -1; } diff --git a/daemon/guestfsd.c b/daemon/guestfsd.c index 5edfc69..7b33a3a 100644 --- a/daemon/guestfsd.c +++ b/daemon/guestfsd.c @@ -132,7 +132,7 @@ static void usage (void) { fprintf (stderr, - "guestfsd [-r] [-v|--verbose]\n"); + "guestfsd [-r] [-v|--verbose]\n"); } int @@ -1394,18 +1394,18 @@ mountable_to_string (const mountable_t *m...
2015 Oct 05
3
[PATCH 1/2] Change 'fprintf (stdout,...)' -> printf.
Result of earlier copy and paste. --- align/scan.c | 35 ++++++++++--------- cat/cat.c | 39 +++++++++++---------- cat/filesystems.c | 69 +++++++++++++++++++------------------- cat/log.c | 35 ++++++++++--------- cat/ls.c | 61 +++++++++++++++++---------------- df/main.c | 43 ++++++++++++------------ diff/diff.c | 67