X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=daemon%2Ffsck.c;h=7f81e966127e5bbc108c0aaadd1ae7c7e2ef74e7;hp=d7a42de8f42dc7fd0fff65351edeccfdc12258cf;hb=d43dac69483e8ec62e8356d93f761684ce2f5cc8;hpb=c69c3695303d5a660ad093a076c2e364ae6061de 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);