Skip to content

Commit

Permalink
mx_util: Assertion loglevel increased to emergency
Browse files Browse the repository at this point in the history
  • Loading branch information
mariux committed May 21, 2015
1 parent d01b8e5 commit 874fd1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mx_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
do {\
if (!(test)) {\
errno=(eno);\
mx_log_debug("Assertion '" #test "' failed. Returning -(errno=" #eno ") [%d]: %m", -errno);\
mx_log_emerg("Assertion '" #test "' failed. Returning -(errno=" #eno ") [%d]: %m", -errno);\
return -errno;\
}\
} while (0)
Expand All @@ -27,7 +27,7 @@
do {\
if (!(test)) {\
errno=(eno);\
mx_log_debug("Assertion '" #test "' failed. Setting errno=" #eno " [%d] and returning NULL: %m", errno);\
mx_log_emerg("Assertion '" #test "' failed. Setting errno=" #eno " [%d] and returning NULL: %m", errno);\
return NULL;\
}\
} while (0)
Expand Down

0 comments on commit 874fd1e

Please sign in to comment.