提交 981c3db6 编写于 作者: G Gustavo Padovan 提交者: Shuah Khan

selftest: sync: improve assert() failure message

Print "ERROR" on all messages instead of using the not well defined terms
like "BAD".
Signed-off-by: NGustavo Padovan <gustavo.padovan@collabora.com>
Signed-off-by: NShuah Khan <shuahkh@osg.samsung.com>
上级 c4612656
......@@ -32,7 +32,7 @@
#define ASSERT(cond, msg) do { \
if (!(cond)) { \
printf("[BAD]\t%s", (msg)); \
printf("[ERROR]\t%s", (msg)); \
return 1; \
} \
} while (0)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册