summaryrefslogtreecommitdiff
path: root/usr.sbin/mopd/otherOS/loop.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-12-16 19:27:21 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-12-16 19:27:21 +0000
commit9d6eff126736d10f13664f4d62ef39c5d08bfaa2 (patch)
tree834382446ec29461aee4eeb0b17cfaf5055db3dd /usr.sbin/mopd/otherOS/loop.c
parentdcd50ca4b94f59d4bfad7f4b0fef181cffb407f8 (diff)
bad printf; leopold-bloom@foni.net
Diffstat (limited to 'usr.sbin/mopd/otherOS/loop.c')
-rw-r--r--usr.sbin/mopd/otherOS/loop.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/mopd/otherOS/loop.c b/usr.sbin/mopd/otherOS/loop.c
index 0088e775f48..d26776df3bf 100644
--- a/usr.sbin/mopd/otherOS/loop.c
+++ b/usr.sbin/mopd/otherOS/loop.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: loop.c,v 1.5 2003/12/01 00:56:51 avsm Exp $ */
+/* $OpenBSD: loop.c,v 1.6 2003/12/16 19:27:20 deraadt Exp $ */
/*
* Copyright (c) 1993-95 Mats O Jansson. All rights reserved.
@@ -25,7 +25,7 @@
*/
#ifndef LINT
-static const char rcsid[] = "$OpenBSD: loop.c,v 1.5 2003/12/01 00:56:51 avsm Exp $";
+static const char rcsid[] = "$OpenBSD: loop.c,v 1.6 2003/12/16 19:27:20 deraadt Exp $";
#endif
#include "os.h"
@@ -157,7 +157,7 @@ Loop()
listeners = fds;
if (select(maxfd + 1, &listeners, (fd_set *) 0,
(fd_set *) 0, (struct timeval *) 0) < 0) {
- fprintf(stderr, "select: %s");
+ fprintf(stderr, "select: %s", strerror(errno));
exit(0);
}
for (ii = iflist; ii; ii = ii->next) {