summaryrefslogtreecommitdiffstats
path: root/games/hack
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-07-10 05:16:59 +0000
committerkris <kris@FreeBSD.org>2000-07-10 05:16:59 +0000
commita5aaf7609c2f9c06486d3af37ae477b3440aa9d9 (patch)
treec0cc6b760879039612d734cddc3b52590c62d2eb /games/hack
parent4175feb6aca36e3e04e11ebaf397e7acf267cebc (diff)
downloadFreeBSD-src-a5aaf7609c2f9c06486d3af37ae477b3440aa9d9.zip
FreeBSD-src-a5aaf7609c2f9c06486d3af37ae477b3440aa9d9.tar.gz
Don't call printf with no format string.
Diffstat (limited to 'games/hack')
-rw-r--r--games/hack/hack.tty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/hack/hack.tty.c b/games/hack/hack.tty.c
index df49cfc..f86c09f 100644
--- a/games/hack/hack.tty.c
+++ b/games/hack/hack.tty.c
@@ -135,7 +135,7 @@ gettty(){
settty(s) char *s; {
clear_screen();
end_screen();
- if(s) printf(s);
+ if(s) printf("%s", s);
(void) fflush(stdout);
if(STTY(&inittyb) < 0)
perror("Hack (settty)");
OpenPOWER on IntegriCloud