diff options
author | 2014-10-26 07:03:47 +0000 | |
---|---|---|
committer | 2014-10-26 07:03:47 +0000 | |
commit | 7bb46c973c1fc3efaa32ae364c6a19e0675729d3 (patch) | |
tree | e0be927e89d8cc3c20342f329dcf03130d93bc69 /games/battlestar/room.c | |
parent | Move the #define _KERNEL wrapping to only cover <sys/file.h> (diff) | |
download | wireguard-openbsd-7bb46c973c1fc3efaa32ae364c6a19e0675729d3.tar.xz wireguard-openbsd-7bb46c973c1fc3efaa32ae364c6a19e0675729d3.zip |
Add a format specifier for the printf.
Diffstat (limited to 'games/battlestar/room.c')
-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++; } } |