]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
s/%d/%s/
authorDale Weiler <killfieldengine@gmail.com>
Sat, 2 Feb 2013 01:04:26 +0000 (01:04 +0000)
committerDale Weiler <killfieldengine@gmail.com>
Sat, 2 Feb 2013 01:04:26 +0000 (01:04 +0000)
lexer.c

diff --git a/lexer.c b/lexer.c
index 620e4b44fb52b78ac38f9ed8930c1dad86631896..42b21a1a6cd7de46bd45aa21b227cc412a4fbdec 100644 (file)
--- a/lexer.c
+++ b/lexer.c
@@ -1485,6 +1485,6 @@ int lex_do(lex_file *lex)
         return (lex->tok.ttype = ch);
     }
 
-    lexerror(lex, "unknown token: `%d`", lex->tok.value);
+    lexerror(lex, "unknown token: `%s`", lex->tok.value);
     return (lex->tok.ttype = TOKEN_ERROR);
 }