From b2e0bcdf68674fb3b6562acacd6b67f59d3d656c Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sat, 7 Jul 2018 19:49:30 +0100 Subject: [PATCH] fsck: Fix use of filesystem names --- Applications/util/fsck.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Applications/util/fsck.c b/Applications/util/fsck.c index a3130d59..5997020c 100644 --- a/Applications/util/fsck.c +++ b/Applications/util/fsck.c @@ -200,7 +200,7 @@ int perform_fsck(char *name, int search) char *buf; if (fd_open(name, search)){ - puts("Cannot open file\n"); + puts("Cannot open file"); return 16; } @@ -294,7 +294,7 @@ int main(int argc, char *argv[]) fputs("syntax: fsck[-a] [devfile][:offset]\n", stderr); return 16; } - perform_fsck(argv[1], 0); + perform_fsck(argv[1], 1); } puts("Done."); exit(error); -- 2.34.1