diff options
-rw-r--r-- | games/monop/misc.c | 6 | ||||
-rw-r--r-- | usr.sbin/mopd/otherOS/loop.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/games/monop/misc.c b/games/monop/misc.c index 534e0d22c85..22b71e7f014 100644 --- a/games/monop/misc.c +++ b/games/monop/misc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: misc.c,v 1.7 2003/11/21 13:11:15 otto Exp $ */ +/* $OpenBSD: misc.c,v 1.8 2003/12/16 19:26:44 deraadt Exp $ */ /* $NetBSD: misc.c,v 1.4 1995/03/23 08:34:47 cgd Exp $ */ /* @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)misc.c 8.1 (Berkeley) 5/31/93"; #else -static const char rcsid[] = "$OpenBSD: misc.c,v 1.7 2003/11/21 13:11:15 otto Exp $"; +static const char rcsid[] = "$OpenBSD: misc.c,v 1.8 2003/12/16 19:26:44 deraadt Exp $"; #endif #endif /* not lint */ @@ -202,7 +202,7 @@ set_ownlist(pl) #endif } #ifdef DEBUG - printf("num = %d\n"); + printf("num = %d\n", num); #endif if (orig == 0) { printf("panic: bad monopoly descriptor: orig = %p\n", orig); 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) { |