From 4bb42d3bdfc48323b11699b71576dbbf893b83b5 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Wed, 18 Nov 1998 16:50:06 +0000 Subject: obvious typo --- sbin/ping/ping.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sbin') 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); -- cgit v1.2.3