diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-11-18 16:50:06 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-11-18 16:50:06 +0000 |
commit | 4bb42d3bdfc48323b11699b71576dbbf893b83b5 (patch) | |
tree | 4a4cf0ad830d03287de3a4b3ce16fd09fa9cae6a /sbin | |
parent | 8b1adc5c1afcf420007a4f102b7cc4e7b8ebb925 (diff) |
obvious typo
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/ping/ping.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/ping/ping.c b/sbin/ping/ping.c index 9b2181143ee..db82a6a8b89 100644 --- a/sbin/ping/ping.c +++ b/sbin/ping/ping.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ping.c,v 1.35 1998/05/17 01:46:51 angelos Exp $ */ +/* $OpenBSD: ping.c,v 1.36 1998/11/18 16:50:05 deraadt Exp $ */ /* $NetBSD: ping.c,v 1.20 1995/08/11 22:37:58 cgd Exp $ */ /* @@ -47,7 +47,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)ping.c 8.1 (Berkeley) 6/5/93"; #else -static char rcsid[] = "$OpenBSD: ping.c,v 1.35 1998/05/17 01:46:51 angelos Exp $"; +static char rcsid[] = "$OpenBSD: ping.c,v 1.36 1998/11/18 16:50:05 deraadt Exp $"; #endif #endif /* not lint */ @@ -217,7 +217,7 @@ main(argc, argv) while ((ch = getopt(argc, argv, "DI:LRS:c:dfh:i:l:np:qrs:T:t:vw:")) != -1) switch(ch) { case 'c': - npackets = strtol(optarg, 0, NULL); + npackets = strtol(optarg, NULL, 0); if (npackets <= 0) errx(1, "bad number of packets to transmit: %s", optarg); |