aboutsummaryrefslogtreecommitdiffstats
path: root/src/assert.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/assert.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/assert.c b/src/assert.c
index 8e7561a..ffd61a3 100644
--- a/src/assert.c
+++ b/src/assert.c
@@ -50,7 +50,7 @@ void __assert_fail(const char* expression, int errnum, const char* file, int lin
tty, line, tty,
tty, file, tty,
tty, func, tty,
- tty, expression != NULL, (expression ? expression : stderror(errnum)), tty);
+ tty, expression != NULL, (expression ? expression : strerror(errnum)), tty);
fflush(NULL); /* Flush all streams. */
abort();