X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=daemon%2Ffsck.c;h=e452adc0028f1b35f26aff455e89eba4d6021b7b;hb=79f5720d2ccab820c90b7516f3fbf5e3dcbe9c8f;hp=932f1c57cfe18ef6f7f620dd1a32ff904d04076e;hpb=e9c37113104c1cfb234535adc9b52ad3880a41ce;p=libguestfs.git diff --git a/daemon/fsck.c b/daemon/fsck.c index 932f1c5..e452adc 100644 --- a/daemon/fsck.c +++ b/daemon/fsck.c @@ -32,7 +32,7 @@ do_fsck (const char *fstype, const char *device) char *err; int r; - r = commandr (NULL, &err, "/sbin/fsck", "-a", "-t", fstype, device, NULL); + r = commandr (NULL, &err, "fsck", "-a", "-t", fstype, device, NULL); if (r == -1) { reply_with_error ("%s: %s", device, err); free (err);