summaryrefslogtreecommitdiffstats
path: root/daemon/fsck.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/fsck.c')
-rw-r--r--daemon/fsck.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/fsck.c b/daemon/fsck.c
index f1a9dc57..907c117e 100644
--- a/daemon/fsck.c
+++ b/daemon/fsck.c
@@ -32,7 +32,7 @@ do_fsck (char *fstype, char *device)
char *err;
int r;
- IS_DEVICE (device, -1);
+ RESOLVE_DEVICE (device, return -1);
r = commandr (NULL, &err, "/sbin/fsck", "-a", "-t", fstype, device, NULL);
if (r == -1) {