1
0
mirror of https://github.com/PDP-10/klh10.git synced 2026-02-06 00:15:26 +00:00

Fix usage printing.

This commit is contained in:
Olaf Seibert
2015-07-18 02:21:37 +02:00
parent dafe65141a
commit 800d799b34
2 changed files with 2 additions and 2 deletions

View File

@@ -97,7 +97,7 @@ main(int argc, char **argv)
switch (arg[1]) {
case 'v': swverb = 1; break;
default:
fprintf(stderr, usage);
fprintf(stderr, usage, argv[0]);
exit(1);
}
}

View File

@@ -84,7 +84,7 @@ main(int argc, char **argv)
w10_t w;
if (argc != 2 || strlen(typestr = argv[1]) != 3) {
fprintf(stderr, usage);
fprintf(stderr, "%s", usage);
exit(1);
}
if (typestr[0] != '-'