summaryrefslogtreecommitdiff
path: root/usr.bin/split
diff options
context:
space:
mode:
authorjtc <jtc@NetBSD.org>1995-08-31 22:22:05 +0000
committerjtc <jtc@NetBSD.org>1995-08-31 22:22:05 +0000
commit0c3e631d7d6fb8875cff53c30db173fa7142d0ee (patch)
tree4d36b2378a44c4e13e3934ffe8e3ab1d14e21e0a /usr.bin/split
parentf1df59ade6f9c0a373121bc2db342ae660853782 (diff)
Sync with 4.4lite2
Diffstat (limited to 'usr.bin/split')
-rw-r--r--usr.bin/split/split.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/split/split.c b/usr.bin/split/split.c
index 3e945906dab..ab981252cbc 100644
--- a/usr.bin/split/split.c
+++ b/usr.bin/split/split.c
@@ -1,4 +1,4 @@
-/* $NetBSD: split.c,v 1.4 1994/12/21 08:20:36 jtc Exp $ */
+/* $NetBSD: split.c,v 1.5 1995/08/31 22:22:05 jtc Exp $ */
/*
* Copyright (c) 1987, 1993, 1994
@@ -41,9 +41,9 @@ static char copyright[] =
#ifndef lint
#if 0
-static char sccsid[] = "@(#)split.c 8.2 (Berkeley) 4/16/94";
+static char sccsid[] = "@(#)split.c 8.3 (Berkeley) 4/25/94";
#endif
-static char rcsid[] = "$NetBSD: split.c,v 1.4 1994/12/21 08:20:36 jtc Exp $";
+static char rcsid[] = "$NetBSD: split.c,v 1.5 1995/08/31 22:22:05 jtc Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -115,7 +115,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: