summaryrefslogtreecommitdiffstats
path: root/daemon
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-05-24 14:50:20 +0100
committerRichard W.M. Jones <rjones@redhat.com>2012-05-24 14:54:54 +0100
commitee9ab52bc3e087f63dcc51d3b6ac5c79277425e1 (patch)
tree9ce1f5f96a3b844a740698b43f2163a0d5667c25 /daemon
parent216a6d16abdfbc36a5514df34f59507ef825e33e (diff)
downloadlibguestfs-ee9ab52bc3e087f63dcc51d3b6ac5c79277425e1.tar.gz
libguestfs-ee9ab52bc3e087f63dcc51d3b6ac5c79277425e1.tar.xz
libguestfs-ee9ab52bc3e087f63dcc51d3b6ac5c79277425e1.zip
fish/mount: Add better error message when -m (mount) fails (RHBZ#824043).
Diffstat (limited to 'daemon')
-rw-r--r--daemon/mount.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/daemon/mount.c b/daemon/mount.c
index 293353db..0661eb87 100644
--- a/daemon/mount.c
+++ b/daemon/mount.c
@@ -154,7 +154,8 @@ do_mount_vfs (const char *options, const char *vfstype,
"mount", "-o", options, device, mp, NULL);
free (mp);
if (r == -1) {
- reply_with_error ("%s on %s: %s", device, mountpoint, error);
+ reply_with_error ("%s on %s (options: '%s'): %s",
+ device, mountpoint, options, error);
free (error);
return -1;
}