summaryrefslogtreecommitdiffstats
path: root/games/monop/misc.c
diff options
context:
space:
mode:
authorotto <otto@openbsd.org>2003-11-21 13:11:15 +0000
committerotto <otto@openbsd.org>2003-11-21 13:11:15 +0000
commit2ee931d56275dbcc43a353c0e967f310f752b731 (patch)
tree922687336de3062113e3921b0db678461fb46021 /games/monop/misc.c
parentunexpand and delete whitespace at EOL; ok markus@ (diff)
downloadwireguard-openbsd-2ee931d56275dbcc43a353c0e967f310f752b731.tar.xz
wireguard-openbsd-2ee931d56275dbcc43a353c0e967f310f752b731.zip
printf(prompt) -> printf("%s", prompt)
From Alf Schlichting <leopold-bloom at foni dot net>
Diffstat (limited to 'games/monop/misc.c')
-rw-r--r--games/monop/misc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/games/monop/misc.c b/games/monop/misc.c
index c37e12008c6..534e0d22c85 100644
--- a/games/monop/misc.c
+++ b/games/monop/misc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: misc.c,v 1.6 2003/06/03 03:01:40 millert Exp $ */
+/* $OpenBSD: misc.c,v 1.7 2003/11/21 13:11:15 otto 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.6 2003/06/03 03:01:40 millert Exp $";
+static const char rcsid[] = "$OpenBSD: misc.c,v 1.7 2003/11/21 13:11:15 otto Exp $";
#endif
#endif /* not lint */
@@ -97,7 +97,7 @@ get_int(prompt)
char buf[257];
for (;;) {
- printf(prompt);
+ printf("%s", prompt);
num = 0;
i = 1;
for (sp = buf; (c = getchar()) != '\n';) {