diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux')
-rw-r--r-- | sysdeps/unix/sysv/linux/libc_fatal.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/libc_fatal.c b/sysdeps/unix/sysv/linux/libc_fatal.c index 898be00604..c0482d96f3 100644 --- a/sysdeps/unix/sysv/linux/libc_fatal.c +++ b/sysdeps/unix/sysv/linux/libc_fatal.c @@ -141,6 +141,8 @@ __libc_message (int do_abort, const char *fmt, ...) if (! written) vsyslog (LOG_ERR, fmt, ap_copy); + va_end (ap_copy); + if (do_abort) /* Terminate the process. */ abort (); |