summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--daemon/fsck.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/fsck.c b/daemon/fsck.c
index d7a42de8..7f81e966 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);