Просмотр исходного кода

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>
Gustavo Padovan 9 лет назад
Родитель
Сommit
981c3db62e
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      tools/testing/selftests/sync/synctest.h

+ 1 - 1
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)