From: Richard Jones Date: Thu, 30 Apr 2009 18:28:08 +0000 (+0100) Subject: Correct the path to /sbin/fsck. X-Git-Tag: 1.0.16~5 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=2a42bec2c5ee521f29179a5aab713f5a9ca2c3b8;p=libguestfs.git Correct the path to /sbin/fsck. --- diff --git a/daemon/fsck.c b/daemon/fsck.c index d7a42de..7f81e96 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);