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