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