summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2009-04-30 19:28:08 +0100
committerRichard Jones <rjones@redhat.com>2009-04-30 19:28:08 +0100
commit2a42bec2c5ee521f29179a5aab713f5a9ca2c3b8 (patch)
treeffbd7db5515dc76180ec829b25c8cf07626702fc
parent89404ec0ba9781b55cb3a87689bcc519e7d73ea2 (diff)
downloadlibguestfs-2a42bec2c5ee521f29179a5aab713f5a9ca2c3b8.tar.gz
libguestfs-2a42bec2c5ee521f29179a5aab713f5a9ca2c3b8.tar.xz
libguestfs-2a42bec2c5ee521f29179a5aab713f5a9ca2c3b8.zip
Correct the path to /sbin/fsck.
-rw-r--r--daemon/fsck.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/fsck.c b/daemon/fsck.c
index d7a42de8..7f81e966 100644
--- a/daemon/fsck.c
+++ b/daemon/fsck.c
@@ -34,7 +34,7 @@ do_fsck (const char *fstype, const char *device)
IS_DEVICE (device, -1);
- r = commandr (NULL, &err, "fsck", "-a", "-t", fstype, device, NULL);
+ r = commandr (NULL, &err, "/sbin/fsck", "-a", "-t", fstype, device, NULL);
if (r == -1) {
reply_with_error ("fsck: %s: %s", device, err);
free (err);