diff options
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 198532b..efd2a21 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: |