From 2a42bec2c5ee521f29179a5aab713f5a9ca2c3b8 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Thu, 30 Apr 2009 19:28:08 +0100 Subject: [PATCH] Correct the path to /sbin/fsck. --- daemon/fsck.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 1.8.3.1