summaryrefslogtreecommitdiff
path: root/utils/ping.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-05-28 23:56:34 +0000
committerRoland McGrath <roland@gnu.org>2002-05-28 23:56:34 +0000
commit25b39daa9074d851dd75ea87640ffeb7808c61f0 (patch)
treec20c984f230041e76fef4643b451a4dbdf971a49 /utils/ping.c
parent5cd8d4c8112c82457677bcf7eb92ab2cddad930d (diff)
2002-05-28 Roland McGrath <roland@frob.com>
* pids.c (add_fn_pids): unsigned -> size_t * w.c (add_utmp_procs): Likewise. * login.c (add_canonical_host): Likewise. * ps.c (main): Likewise. * login.c (add_entry, main): Likewise. * settrans.c (main): int -> size_t * showtrans.c (main): Likewise. * fsysopts.c (main): Likewise. * vmstat.c (main): Use int for FWIDTHS. * ping.c (main): size_t -> socklen_t * fakeauth.c (S_auth_getids, S_auth_makeauth, S_auth_server_authenticate): u_int -> size_t * showtrans.c (main): Cast field width/precision args to int.
Diffstat (limited to 'utils/ping.c')
-rw-r--r--utils/ping.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/ping.c b/utils/ping.c
index 2f979e2c..2234f44c 100644
--- a/utils/ping.c
+++ b/utils/ping.c
@@ -40,7 +40,7 @@ char copyright[] =
/*
* From: @(#)ping.c 5.9 (Berkeley) 5/12/91
*/
-char rcsid[] = "$Id: ping.c,v 1.3 1998/10/20 09:42:49 roland Exp $";
+char rcsid[] = "$Id: ping.c,v 1.4 2002/05/28 23:56:34 roland Exp $";
char pkg[] = "netkit-base-0.10";
/*
@@ -468,7 +468,7 @@ main(int argc, char *argv[])
for (;;) {
struct sockaddr_in from;
register int cc;
- size_t fromlen;
+ socklen_t fromlen;
if (options & F_FLOOD) {
pinger();