]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
misc: remove extra va_end in error_tail (bug 32233)
authorAndreas Schwab <schwab@suse.de>
Wed, 20 Nov 2024 12:15:44 +0000 (13:15 +0100)
committerAndreas Schwab <schwab@suse.de>
Wed, 20 Nov 2024 13:05:52 +0000 (14:05 +0100)
This is an addendum to commit b7b52b9dec ("error, error_at_line: Add
missing va_end calls"), which added the va_end calls in the callers where
they belong.

misc/error.c

index e5d5588434adb0fac7fa1c1f81bd0022c11a2251..b229d56c42d3271a22e278c944e9378376009e48 100644 (file)
@@ -212,7 +212,6 @@ error_tail (int status, int errnum, const char *message, va_list args,
 #else
   vfprintf (stderr, message, args);
 #endif
-  va_end (args);
 
   ++error_message_count;
   if (errnum)