search for: 9375ede

Displaying 2 results from an estimated 2 matches for "9375ede".

Did you mean: 9375eae4
2009 Nov 18
1
[PATCH] daemon/RHEL: Choose correct udev settle script.
...for udev to settle (because parted isn't waiting for this, unlike sfdisk). This commit chooses the correct program to run. --- daemon/guestfsd.c | 22 +++++++++++++++++++++- 1 files changed, 21 insertions(+), 1 deletions(-) diff --git a/daemon/guestfsd.c b/daemon/guestfsd.c index db0bff9..9375ede 100644 --- a/daemon/guestfsd.c +++ b/daemon/guestfsd.c @@ -976,5 +976,25 @@ device_name_translation (char *device, const char *func) void udev_settle (void) { - command (NULL, NULL, "/sbin/udevadm", "settle", NULL); + static int which_prog = 0; + + if (which_prog == 0) { +...
2009 Nov 20
1
fix new failures from latest-from-gnulib syntax-check
...wn parameter: %s\n", argv[1]); - exit (1); + exit (EXIT_FAILURE); } } else { fprintf (stderr, "missing parameter\n"); - exit (1); + exit (EXIT_FAILURE); } - exit (0); + exit (EXIT_SUCCESS); } diff --git a/daemon/guestfsd.c b/daemon/guestfsd.c index 9375ede..cc6cd2c 100644 --- a/daemon/guestfsd.c +++ b/daemon/guestfsd.c @@ -121,17 +121,17 @@ main (int argc, char *argv[]) case '?': usage (); - exit (0); + exit (EXIT_SUCCESS); default: fprintf (stderr, "guestfsd: unexpected command line option 0x%x\n&quot...