diff options
author | kris <kris@FreeBSD.org> | 2000-07-10 05:16:59 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2000-07-10 05:16:59 +0000 |
commit | a5aaf7609c2f9c06486d3af37ae477b3440aa9d9 (patch) | |
tree | c0cc6b760879039612d734cddc3b52590c62d2eb /games/hack | |
parent | 4175feb6aca36e3e04e11ebaf397e7acf267cebc (diff) | |
download | FreeBSD-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.c | 2 |
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)"); |