Skip to content
Snippets Groups Projects
Unverified Commit b6cd7639 authored by baktrius's avatar baktrius Committed by GitHub
Browse files

Merge pull request #19 from baktrius/fix-assert-zero

fix bug in ASSERT_ZERO
parents 1626134f df1ec974
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,7 @@ shouldn't observably differ in any way other than execution duration.
fprintf( \
stderr, \
"ERROR: Failed: %s\n\tIn function %s() in %s line %d.\n\tErrno: (%d; %s)\n", \
#expr, __func__, __FILE__, __LINE__, errno, strerror(errno) \
#expr, __func__, __FILE__, __LINE__, _errno, strerror(_errno) \
); \
} while(0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment