summaryrefslogtreecommitdiffstats
path: root/games/battlestar
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-11-26 09:51:46 +0000
committerkris <kris@FreeBSD.org>2000-11-26 09:51:46 +0000
commit54640b61faf6aa99b4e7a9d41943fd8664f078ab (patch)
treebbbbd1b47d43a3903fc8980e3284b42295e767d7 /games/battlestar
parent092949d321c6383beb90b9bfef474624c8f659be (diff)
downloadFreeBSD-src-54640b61faf6aa99b4e7a9d41943fd8664f078ab.zip
FreeBSD-src-54640b61faf6aa99b4e7a9d41943fd8664f078ab.tar.gz
Format string auditing
Diffstat (limited to 'games/battlestar')
-rw-r--r--games/battlestar/room.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/battlestar/room.c b/games/battlestar/room.c
index 4805d93..90f95e2 100644
--- a/games/battlestar/room.c
+++ b/games/battlestar/room.c
@@ -56,7 +56,7 @@ writedes()
putchar((int)c);
else {
if (c != '*')
- printf(truedirec(compass, c));
+ printf("%s", truedirec(compass, c));
compass++;
}
}
OpenPOWER on IntegriCloud