[PATCH] misc: remove extra va_end in error_tail (bug 32233)
Andreas Schwab
schwab@suse.de
Wed Nov 20 12:27:05 GMT 2024
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 | 1 -
1 file changed, 1 deletion(-)
diff --git a/misc/error.c b/misc/error.c
index e5d5588434..b229d56c42 100644
--- a/misc/error.c
+++ b/misc/error.c
@@ -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)
--
2.47.0
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
More information about the Libc-alpha
mailing list