From: Alan Cox Date: Sat, 7 Jul 2018 18:49:30 +0000 (+0100) Subject: fsck: Fix use of filesystem names X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=b2e0bcdf68674fb3b6562acacd6b67f59d3d656c;p=FUZIX.git fsck: Fix use of filesystem names --- 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);