Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 981c3db6 authored by Gustavo Padovan's avatar Gustavo Padovan Committed by Shuah Khan
Browse files

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)