summaryrefslogtreecommitdiff
path: root/misc/fsck.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/fsck.c')
-rw-r--r--misc/fsck.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/fsck.c b/misc/fsck.c
index 6eefd550..c469ad71 100644
--- a/misc/fsck.c
+++ b/misc/fsck.c
@@ -874,7 +874,8 @@ static int check_all(NOARGS)
for (fs = filesys_info; fs; fs = fs->next) {
if (ignore(fs))
fs->flags |= FLAG_DONE;
- fs->device = interpret_device(fs->device);
+ else
+ fs->device = interpret_device(fs->device);
}
/*