mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-21 20:40:05 +00:00
error, error_at_line: Add missing va_end calls
This commit is contained in:
parent
017801880b
commit
b7b52b9dec
@ -1,3 +1,8 @@
|
|||||||
|
2018-08-13 Florian Weimer <fweimer@redhat.com>
|
||||||
|
|
||||||
|
* misc/error.c (error): Add missing va_end call.
|
||||||
|
(error_at_line): Likewise.
|
||||||
|
|
||||||
2018-08-13 Florian Weimer <fweimer@redhat.com>
|
2018-08-13 Florian Weimer <fweimer@redhat.com>
|
||||||
|
|
||||||
* stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
|
* stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
|
||||||
|
@ -319,6 +319,7 @@ error (int status, int errnum, const char *message, ...)
|
|||||||
|
|
||||||
va_start (args, message);
|
va_start (args, message);
|
||||||
error_tail (status, errnum, message, args);
|
error_tail (status, errnum, message, args);
|
||||||
|
va_end (args);
|
||||||
|
|
||||||
#ifdef _LIBC
|
#ifdef _LIBC
|
||||||
_IO_funlockfile (stderr);
|
_IO_funlockfile (stderr);
|
||||||
@ -390,6 +391,7 @@ error_at_line (int status, int errnum, const char *file_name,
|
|||||||
|
|
||||||
va_start (args, message);
|
va_start (args, message);
|
||||||
error_tail (status, errnum, message, args);
|
error_tail (status, errnum, message, args);
|
||||||
|
va_end (args);
|
||||||
|
|
||||||
#ifdef _LIBC
|
#ifdef _LIBC
|
||||||
_IO_funlockfile (stderr);
|
_IO_funlockfile (stderr);
|
||||||
|
Loading…
Reference in New Issue
Block a user