diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2014-10-26 07:03:48 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2014-10-26 07:03:48 +0000 |
commit | 643e4d49461f9858253ded71ec0c336beaa937d9 (patch) | |
tree | 5138dd29e1f2e7c8fb5dbb910b673fd42839196c /games/battlestar | |
parent | a8ece7e16269f981058182ff04fc670cb01eb168 (diff) |
Add a format specifier for the printf.
Diffstat (limited to 'games/battlestar')
-rw-r--r-- | games/battlestar/room.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/games/battlestar/room.c b/games/battlestar/room.c index 129f1c6b318..3d59b56047d 100644 --- a/games/battlestar/room.c +++ b/games/battlestar/room.c @@ -1,4 +1,4 @@ -/* $OpenBSD: room.c,v 1.9 2009/10/27 23:59:24 deraadt Exp $ */ +/* $OpenBSD: room.c,v 1.10 2014/10/26 07:03:47 brad Exp $ */ /* $NetBSD: room.c,v 1.3 1995/03/21 15:07:54 cgd Exp $ */ /* @@ -50,7 +50,7 @@ writedes(void) putchar(c); } else { if (c != '*') - printf(truedirec(compass, c)); + printf("%s", truedirec(compass, c)); compass++; } } |