aboutsummaryrefslogtreecommitdiffstats
path: root/src/assert.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-09-02 20:49:08 +0200
committerMattias Andrée <maandree@operamail.com>2015-09-02 20:49:08 +0200
commitf9e52c4acbd8f53da1b083770c6aab9c67cb0368 (patch)
tree755cb04726fbf6f44b42d94844fd78be6940dd7c /src/assert.c
parentadd memcasecmp and wmemcasecmp (diff)
downloadslibc-f9e52c4acbd8f53da1b083770c6aab9c67cb0368.tar.gz
slibc-f9e52c4acbd8f53da1b083770c6aab9c67cb0368.tar.bz2
slibc-f9e52c4acbd8f53da1b083770c6aab9c67cb0368.tar.xz
misc
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/assert.c')
-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();