diff options
| author | David Greenman <dg@FreeBSD.org> | 1995-08-30 10:31:42 +0000 |
|---|---|---|
| committer | David Greenman <dg@FreeBSD.org> | 1995-08-30 10:31:42 +0000 |
| commit | aea7c9aac190ff2957fa2941555c5c1e8910f8d9 (patch) | |
| tree | 7d8dec59583b0859be5ef0caa0afbf15b1c41743 /usr.bin | |
| parent | 44193e89229a9c597643d05e43d525a904bc320f (diff) | |
Notes
Diffstat (limited to 'usr.bin')
| -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 198532bc84f7a..efd2a219a7235 100644 --- a/usr.bin/split/split.c +++ b/usr.bin/split/split.c @@ -110,7 +110,7 @@ main(argc, argv) case 'l': /* Line count. */ if (numlines != 0) usage(); - if ((numlines = strtol(optarg, &ep, 10)) <= 0 || *p) + if ((numlines = strtol(optarg, &ep, 10)) <= 0 || *ep) errx(1, "%s: illegal line count.", optarg); break; default: |
