From: Gustavo Padovan Date: Tue, 13 Dec 2016 13:48:49 +0000 (-0200) Subject: selftest: sync: improve assert() failure message X-Git-Tag: v4.10-rc1~87^2~1 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=981c3db62e2d2dfb0c5725dd55d8c3cf8ed4edd8;p=karo-tx-linux.git 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 Signed-off-by: Shuah Khan --- diff --git a/tools/testing/selftests/sync/synctest.h b/tools/testing/selftests/sync/synctest.h index 4e0e59f6fcf3..e7d1d57dba7a 100644 --- a/tools/testing/selftests/sync/synctest.h +++ b/tools/testing/selftests/sync/synctest.h @@ -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)