search for: 7f4b2f2

Displaying 4 results from an estimated 4 matches for "7f4b2f2".

2015 Jun 30
0
[PATCH v4 5/7] daemon: add get_random_uuid
...get_random_uuid (void); + /* This just stops gcc from giving a warning about our custom printf * formatters %Q and %R. See guestfs(3)/EXTENDING LIBGUESTFS for more * info about these. In GCC 4.8.0 the warning is even harder to diff --git a/daemon/guestfsd.c b/daemon/guestfsd.c index 584c685..7f4b2f2 100644 --- a/daemon/guestfsd.c +++ b/daemon/guestfsd.c @@ -57,6 +57,7 @@ #include "daemon.h" GUESTFSD_EXT_CMD(str_udevadm, udevadm); +GUESTFSD_EXT_CMD(str_uuidgen, uuidgen); #ifndef MAX # define MAX(a,b) ((a)>(b)?(a):(b)) @@ -1509,6 +1510,24 @@ udev_settle (void) fprintf (...
2015 Jul 02
0
[PATCH] Fix various -Wformat problems.
...@@ -140,7 +140,7 @@ do_chmod (int mode, const char *path) CHROOT_OUT; if (r == -1) { - reply_with_perror ("%s: 0%o", path, mode); + reply_with_perror ("%s: 0%o", path, (unsigned) mode); return -1; } diff --git a/daemon/guestfsd.c b/daemon/guestfsd.c index 7f4b2f2..ee0aa43 100644 --- a/daemon/guestfsd.c +++ b/daemon/guestfsd.c @@ -224,7 +224,8 @@ main (int argc, char *argv[]) exit (EXIT_SUCCESS); default: - fprintf (stderr, "guestfsd: unexpected command line option 0x%x\n", c); + fprintf (stderr, "guestfsd: unexpected c...
2015 Jul 02
0
[PATCH v2] Fix various -Wformat problems.
...@@ -140,7 +140,7 @@ do_chmod (int mode, const char *path) CHROOT_OUT; if (r == -1) { - reply_with_perror ("%s: 0%o", path, mode); + reply_with_perror ("%s: 0%o", path, (unsigned) mode); return -1; } diff --git a/daemon/guestfsd.c b/daemon/guestfsd.c index 7f4b2f2..ee0aa43 100644 --- a/daemon/guestfsd.c +++ b/daemon/guestfsd.c @@ -224,7 +224,8 @@ main (int argc, char *argv[]) exit (EXIT_SUCCESS); default: - fprintf (stderr, "guestfsd: unexpected command line option 0x%x\n", c); + fprintf (stderr, "guestfsd: unexpected c...
2015 Jun 30
13
[PATCH v4 0/7] uuid: add btrfs uuid change support and set_uuid_random
- Btrfs-progs v4.1 introduced new feature of changing uuid of btrfs partition. This patch add support of this. - Introduce set_uuid_random - uuids.c did a lot of deplicated work for changing uuid of fs. Use existing functions. v4: introduce get_random_uuid improve testcases squash internal API patches v3.1: fix typos v3: set errno if feature is not available. Chen Hanxiao (7):