summaryrefslogtreecommitdiffstats
path: root/games/hack/hack.tty.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/hack/hack.tty.c')
-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