summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2003-11-21 13:11:16 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2003-11-21 13:11:16 +0000
commit721b4e45791499e8b805b40792bd121a71aedc07 (patch)
treeae5a9a80db5747dae5fbc6a427533c81f372adfa /games
parent180dab3f1b633485c45f775d5cfe95e5550cfc2e (diff)
printf(prompt) -> printf("%s", prompt)
From Alf Schlichting <leopold-bloom at foni dot net>
Diffstat (limited to 'games')
-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';) {