projects
/
qemu
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge commit 'gnu/master' into test
[qemu]
/
tests
/
linux-test.c
diff --git
a/tests/linux-test.c
b/tests/linux-test.c
index
19c0e1a
..
934b7ee
100644
(file)
--- a/
tests/linux-test.c
+++ b/
tests/linux-test.c
@@
-65,7
+65,7
@@
int __chk_error(const char *filename, int line, int ret)
return ret;
}
-#define error(fmt, args...) error1(__FILE__, __LINE__, fmt, ##args)
+#define error(fmt, ...) error1(__FILE__, __LINE__, fmt, ## __VA_ARGS__)
#define chk_error(ret) __chk_error(__FILE__, __LINE__, (ret))