Commit 981c3db6 authored by Gustavo Padovan's avatar Gustavo Padovan Committed by 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: default avatarGustavo Padovan <gustavo.padovan@collabora.com>
Signed-off-by: default avatarShuah Khan <shuahkh@osg.samsung.com>
parent c4612656
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
#define ASSERT(cond, msg) do { \ #define ASSERT(cond, msg) do { \
if (!(cond)) { \ if (!(cond)) { \
printf("[BAD]\t%s", (msg)); \ printf("[ERROR]\t%s", (msg)); \
return 1; \ return 1; \
} \ } \
} while (0) } while (0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment