summaryrefslogtreecommitdiff
blob: f01f4917553f7e3ba6236e1ded53f6c2f583c3df (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/src/game.c
+++ b/src/game.c
@@ -642,7 +642,7 @@
 		  (game, prev_winner, c, ((i + prev_winner) % 4),
 		   game->players[((i + prev_winner) % 4)]->turn, &err))
 		{
-		  g_message (err->message);
+		  g_message ("%s", err->message);
 		  turn_nok = TRUE;
 		  game->players[((i + prev_winner) % 4)]->ready =
 		    MT_PLAYER_READY_SEND_NOK_FOR_CARD;