X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=daemon%2Ffsck.c;fp=daemon%2Ffsck.c;h=e452adc0028f1b35f26aff455e89eba4d6021b7b;hp=932f1c57cfe18ef6f7f620dd1a32ff904d04076e;hb=9e0b31a2af26b8d58a44dd80993a5e73d4942307;hpb=57c143da4d9b9e75e6da83ef3b8e8c0979c6f0f6 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);