search for: 14aef75

Displaying 2 results from an estimated 2 matches for "14aef75".

2012 Aug 30
2
[PATCH v2] daemon: collect list of called external commands
...repair (const char *device, size_t i = 0; int is_device; - ADD_ARG (argv, i, "xfs_repair"); + ADD_ARG (argv, i, str_xfs_repair); /* Optional arguments */ if (optargs_bitmask & GUESTFS_XFS_REPAIR_FORCELOGZERO_BITMASK) { diff --git a/daemon/zero.c b/daemon/zero.c index 14aef75..1a66881 100644 --- a/daemon/zero.c +++ b/daemon/zero.c @@ -30,6 +30,8 @@ #include "actions.h" #include "optgroups.h" +GUESTFSD_EXT_CMD(str_wipefs, wipefs); + static const char zero_buf[4096]; int @@ -77,7 +79,7 @@ do_zero (const char *device) int optgroup_wipefs_avail...
2012 Aug 30
1
[PATCH] collect list of called external commands
...st char *device, const char *argv[MAX_ARGS]; size_t i = 0; - ADD_ARG (argv, i, "xfs_admin"); + ADD_ARG (argv, i, str_xfs_admin); /* Optional arguments */ if (!(optargs_bitmask & GUESTFS_XFS_ADMIN_EXTUNWRITTEN_BITMASK)) diff --git a/daemon/zero.c b/daemon/zero.c index 14aef75..22d2958 100644 --- a/daemon/zero.c +++ b/daemon/zero.c @@ -30,6 +30,8 @@ #include "actions.h" #include "optgroups.h" +GUESTFS_EXT_CMD(str_wipefs, wipefs); + static const char zero_buf[4096]; int @@ -77,7 +79,7 @@ do_zero (const char *device) int optgroup_wipefs_availa...