diff options
author | Jim Meyering <meyering@redhat.com> | 2009-08-17 09:43:18 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-08-17 11:40:24 +0200 |
commit | 9b0ab841856ed7168171f6dceaede88dc9fbb9b2 (patch) | |
tree | 2313deb2f3282c6ebfdc77c61acb32d68cbf598b /daemon/fallocate.c | |
parent | 29e7b9908ea6a4c2a864955e73d5b1d7d64f1fc8 (diff) | |
download | libguestfs-9b0ab841856ed7168171f6dceaede88dc9fbb9b2.tar.gz libguestfs-9b0ab841856ed7168171f6dceaede88dc9fbb9b2.tar.xz libguestfs-9b0ab841856ed7168171f6dceaede88dc9fbb9b2.zip |
sfdisk.c, fallocate.c: use a string literal as format
* daemon/fallocate.c (do_fallocate): Format was not a string literal.
* daemon/sfdisk.c (sfdisk): Likewise.
Diffstat (limited to 'daemon/fallocate.c')
-rw-r--r-- | daemon/fallocate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/fallocate.c b/daemon/fallocate.c index eb841457..20a75e67 100644 --- a/daemon/fallocate.c +++ b/daemon/fallocate.c @@ -36,7 +36,7 @@ do_fallocate (const char *path, int len) fd = open (path, O_WRONLY | O_CREAT | O_TRUNC | O_NOCTTY, 0666); CHROOT_OUT; if (fd == -1) { - reply_with_perror (path); + reply_with_perror ("failed to open %s", path); return -1; } |