summaryrefslogtreecommitdiffstats
path: root/games/monop/misc.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2010-05-10 08:53:12 +0000
committernicm <nicm@openbsd.org>2010-05-10 08:53:12 +0000
commit09abf9b2a6ad6ba16376e5001f7c94dd1d058839 (patch)
treec71bbb4687b2c25c1af27cad3e84c28bb9c804f8 /games/monop/misc.c
parentVarious comment typos. 'wether' -> 'whether' (most popular), 'possiblity' -> (diff)
downloadwireguard-openbsd-09abf9b2a6ad6ba16376e5001f7c94dd1d058839.tar.xz
wireguard-openbsd-09abf9b2a6ad6ba16376e5001f7c94dd1d058839.zip
Rename use of some builtins that makes gcc4 warn.
ok millert
Diffstat (limited to 'games/monop/misc.c')
-rw-r--r--games/monop/misc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/monop/misc.c b/games/monop/misc.c
index 1fc01e0ec19..67c5094bfef 100644
--- a/games/monop/misc.c
+++ b/games/monop/misc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: misc.c,v 1.10 2009/10/27 23:59:26 deraadt Exp $ */
+/* $OpenBSD: misc.c,v 1.11 2010/05/10 08:53:12 nicm Exp $ */
/* $NetBSD: misc.c,v 1.4 1995/03/23 08:34:47 cgd Exp $ */
/*
@@ -45,7 +45,7 @@ getyn(prompt)
int com;
for (;;)
- if ((com=getinp(prompt, yn)) < 2)
+ if ((com=getinp(prompt, ynlist)) < 2)
return com;
else
(*func[com-2])();