Touch up error/warning messages.
This commit is contained in:
parent
75cf9dce87
commit
c7d63f201b
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ping.c,v 1.67 2002/09/21 18:24:40 mycroft Exp $ */
|
||||
/* $NetBSD: ping.c,v 1.68 2002/09/21 18:33:51 mycroft Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1989, 1993
|
||||
@ -62,7 +62,7 @@
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#ifndef lint
|
||||
__RCSID("$NetBSD: ping.c,v 1.67 2002/09/21 18:24:40 mycroft Exp $");
|
||||
__RCSID("$NetBSD: ping.c,v 1.68 2002/09/21 18:33:51 mycroft Exp $");
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
@ -716,7 +716,7 @@ doit(void)
|
||||
if (errno == EINTR)
|
||||
continue;
|
||||
jiggle_flush(1);
|
||||
err(1, "select");
|
||||
err(1, "poll");
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ping6.c,v 1.48 2002/09/21 18:30:05 mycroft Exp $ */
|
||||
/* $NetBSD: ping6.c,v 1.49 2002/09/21 18:33:51 mycroft Exp $ */
|
||||
/* $KAME: ping6.c,v 1.160 2002/09/08 14:28:18 itojun Exp $ */
|
||||
|
||||
/*
|
||||
@ -81,7 +81,7 @@ static char sccsid[] = "@(#)ping.c 8.1 (Berkeley) 6/5/93";
|
||||
#else
|
||||
#include <sys/cdefs.h>
|
||||
#ifndef lint
|
||||
__RCSID("$NetBSD: ping6.c,v 1.48 2002/09/21 18:30:05 mycroft Exp $");
|
||||
__RCSID("$NetBSD: ping6.c,v 1.49 2002/09/21 18:33:51 mycroft Exp $");
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@ -1083,7 +1083,7 @@ main(argc, argv)
|
||||
cc = poll(fdmaskp, 1, timeout);
|
||||
if (cc < 0) {
|
||||
if (errno != EINTR) {
|
||||
warn("select");
|
||||
warn("poll");
|
||||
sleep(1);
|
||||
}
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user