summaryrefslogtreecommitdiffstats
path: root/hunt
diff options
context:
space:
mode:
authorelad <elad@NetBSD.org>2006-10-07 17:27:57 +0000
committerelad <elad@NetBSD.org>2006-10-07 17:27:57 +0000
commit7b75ec7c32fed43c84bccc56d4a8dfe625ecaef4 (patch)
treebf8dbf6c4aaf7ce34dcc6ee6dd08be11c18110fd /hunt
parent78357cf39dca1068ba5e6ed0f5e2a2cc53ed6f52 (diff)
downloadbsdgames-darwin-7b75ec7c32fed43c84bccc56d4a8dfe625ecaef4.tar.gz
bsdgames-darwin-7b75ec7c32fed43c84bccc56d4a8dfe625ecaef4.tar.zst
bsdgames-darwin-7b75ec7c32fed43c84bccc56d4a8dfe625ecaef4.zip
PR/18906: roskens at elfin dot net: misc. select() to poll() updates.
Adapted to -current by myself, thanks for the patch!
Diffstat (limited to 'hunt')
-rw-r--r--hunt/huntd/driver.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/hunt/huntd/driver.c b/hunt/huntd/driver.c
index 9deaa525..515e4d6d 100644
--- a/hunt/huntd/driver.c
+++ b/hunt/huntd/driver.c
@@ -1,4 +1,4 @@
-/* $NetBSD: driver.c,v 1.11 2006/05/09 20:18:06 mrg Exp $ */
+/* $NetBSD: driver.c,v 1.12 2006/10/07 17:27:57 elad Exp $ */
/*
* Copyright (c) 1983-2003, Regents of the University of California.
* All rights reserved.
@@ -32,7 +32,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: driver.c,v 1.11 2006/05/09 20:18:06 mrg Exp $");
+__RCSID("$NetBSD: driver.c,v 1.12 2006/10/07 17:27:57 elad Exp $");
#endif /* not lint */
# include <sys/ioctl.h>
@@ -135,9 +135,9 @@ again:
{
if (errno != EINTR)
# ifdef LOG
- syslog(LOG_WARNING, "select: %m");
+ syslog(LOG_WARNING, "poll: %m");
# else
- warn("select");
+ warn("poll");
# endif
errno = 0;
}
@@ -378,7 +378,7 @@ init()
# endif
/*
- * Initialize minimal select mask
+ * Initialize minimal poll mask
*/
fdset[0].fd = Socket;
fdset[0].events = POLLIN;