summaryrefslogtreecommitdiff
path: root/preproc.c
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2011-06-26 23:07:35 +0400
committerCyrill Gorcunov <gorcunov@gmail.com>2011-06-26 23:07:35 +0400
commit9d1141aea901f626c248e17c7adee6e17f806c59 (patch)
tree65b1c5157e7df505c0c0009eddc58d425d6eeef2 /preproc.c
parent9880ea45728d39bfeca9ce3ce330c7b5a2a45e69 (diff)
downloadnasm-9d1141aea901f626c248e17c7adee6e17f806c59.tar.gz
nasm-9d1141aea901f626c248e17c7adee6e17f806c59.tar.bz2
nasm-9d1141aea901f626c248e17c7adee6e17f806c59.zip
preproc: Missed double charp in nasm_trace
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Diffstat (limited to 'preproc.c')
-rw-r--r--preproc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/preproc.c b/preproc.c
index 0614400..30d618a 100644
--- a/preproc.c
+++ b/preproc.c
@@ -503,7 +503,7 @@ static ExpInv *new_ExpInv(int exp_type, ExpDef *ed);
#define stringify(x) #x
-#define nasm_trace(msg, ...) printf("(%s:%d): " msg "\n", __func__, __LINE__, __VA_ARGS__)
+#define nasm_trace(msg, ...) printf("(%s:%d): " msg "\n", __func__, __LINE__, ##__VA_ARGS__)
#define nasm_dump_token(t) nasm_raw_dump_token(t, __FILE__, __LINE__, __func__);
/* FIXME: we really need some compound type here instead of inplace code */