diff options
| author | Rodney W. Grimes <rgrimes@FreeBSD.org> | 1995-07-07 08:23:52 +0000 |
|---|---|---|
| committer | Rodney W. Grimes <rgrimes@FreeBSD.org> | 1995-07-07 08:23:52 +0000 |
| commit | a3f8d23a4833fc44d840e38f6578df7fa270d09f (patch) | |
| tree | bd7cc88f8c49ee730acc7f59472f6fe5792bb510 /usr.bin/split | |
| parent | ef59de8517345bc5509658d255c5639dac460750 (diff) | |
Notes
Diffstat (limited to 'usr.bin/split')
| -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 198532bc84f7..efd2a219a723 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: |
