diff options
author | svn2git <svn2git@FreeBSD.org> | 1994-07-01 08:00:00 +0000 |
---|---|---|
committer | svn2git <svn2git@FreeBSD.org> | 1994-07-01 08:00:00 +0000 |
commit | 5e0e9b99dc3fc0ecd49d929db0d57c784b66f481 (patch) | |
tree | e779b5a6edddbb949b7990751b12d6f25304ba86 /usr.bin/split/split.c | |
parent | a16f65c7d117419bd266c28a1901ef129a337569 (diff) |
Diffstat (limited to 'usr.bin/split/split.c')
-rw-r--r-- | usr.bin/split/split.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/split/split.c b/usr.bin/split/split.c index 698f5c29a8c6..f54916f8d305 100644 --- a/usr.bin/split/split.c +++ b/usr.bin/split/split.c @@ -77,7 +77,7 @@ main(argc, argv) ifd = 0; break; case 'b': /* byte count split */ - if (numlines) + if (numlines || ((argc-1) <= cnt)) usage(); if (!argv[cnt][2]) bytecnt = atol(argv[++cnt]); |