Displaying 1 result from an estimated 1 matches for "0348676".
2016 Apr 04
2
[PATCH 1/2] Use 'error' function consistently throughout.
...exit (EXIT_FAILURE);
- }
+ if (asprintf (&p, "%s:/:subvol=%s", device, subvolume) == -1)
+ error (EXIT_FAILURE, errno, "asprintf");
} else {
p = guestfs_canonical_device_name (g, fses[i]);
}
diff --git a/fish/options.h b/fish/options.h
index 0348676..bbe38aa 100644
--- a/fish/options.h
+++ b/fish/options.h
@@ -178,10 +178,8 @@ extern void display_long_options (const struct option *) __attribute__((noreturn
#define OPTION_m \
mp = malloc (sizeof (struct mp)); \
- if (!mp) {...