mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Fix uninitialized variable in assert_perror (bug 22761)
This commit is contained in:
@ -32,7 +32,7 @@ __assert_perror_fail (int errnum,
|
||||
char errbuf[1024];
|
||||
|
||||
char *e = __strerror_r (errnum, errbuf, sizeof errbuf);
|
||||
__assert_fail_base (_("%s%s%s:%u: %s%sUnexpected error: %s.\n"),
|
||||
__assert_fail_base (_("%s%s%s:%u: %s%sUnexpected error: %s.\n%n"),
|
||||
e, file, line, function);
|
||||
}
|
||||
libc_hidden_def (__assert_perror_fail)
|
||||
|
Reference in New Issue
Block a user