diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 1994-10-19 05:10:06 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 1994-10-19 05:10:06 +0000 |
commit | dc5c110e4a9f03493c2cf4b2b2d0658d5a38f70d (patch) | |
tree | d221b7d852702662ab92bc722ef655df4179e0da /usr.bin/systat | |
parent | 51c325635507e591f7a53b9d3e6b926da23fb845 (diff) | |
download | src-dc5c110e4a9f03493c2cf4b2b2d0658d5a38f70d.tar.gz src-dc5c110e4a9f03493c2cf4b2b2d0658d5a38f70d.zip |
Notes
Diffstat (limited to 'usr.bin/systat')
-rw-r--r-- | usr.bin/systat/main.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/usr.bin/systat/main.c b/usr.bin/systat/main.c index f9f767269df6..c11c5532144b 100644 --- a/usr.bin/systat/main.c +++ b/usr.bin/systat/main.c @@ -88,6 +88,11 @@ main(argc, argv) p = lookup(&argv[0][1]); if (p == (struct cmdtab *)-1) { + fprintf(stderr, "%s: ambiguous request\n", + &argv[0][1]); + exit(1); + } + if (p == (struct cmdtab *)0) { fprintf(stderr, "%s: unknown request\n", &argv[0][1]); exit(1); |