projects
/
gnushogi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Deal with warnings raised by -Wformat-security.
[gnushogi.git]
/
gnushogi
/
book.c
diff --git
a/gnushogi/book.c
b/gnushogi/book.c
index
cadefa3
..
d5fa7ac
100644
(file)
--- a/
gnushogi/book.c
+++ b/
gnushogi/book.c
@@
-290,8
+290,7
@@
BVerifyMove(char *s, unsigned short *mv, int moveno)
/* Illegal move in check */
#if !defined QUIETBOOKGEN
/* 077: "Illegal move (in check) %s" */
- printf(CP[77]);
- printf("\n");
+ puts(CP[77]);
bkdisplay(s, cnt, moveno);
#endif
return false;