mirror of
https://github.com/torvalds/linux.git
synced 2024-11-14 16:12:02 +00:00
selftest: sync: improve assert() failure message
Print "ERROR" on all messages instead of using the not well defined terms like "BAD". Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.com> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
This commit is contained in:
parent
c461265679
commit
981c3db62e
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user