aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2024-11-20 13:15:44 +0100
committerAndreas Schwab <schwab@suse.de>2024-11-20 14:05:52 +0100
commit6e7778ecdef27ebec3f01c3703ed4f51fa578c9c (patch)
treebb7976fd5d66d90878de77fd8f43e66b2aca9af8 /misc
parentab545460b019fe66c90af5c78338ba80f62a4bda (diff)
downloadglibc-6e7778ecdef27ebec3f01c3703ed4f51fa578c9c.zip
glibc-6e7778ecdef27ebec3f01c3703ed4f51fa578c9c.tar.gz
glibc-6e7778ecdef27ebec3f01c3703ed4f51fa578c9c.tar.bz2
misc: remove extra va_end in error_tail (bug 32233)
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.
Diffstat (limited to 'misc')
-rw-r--r--misc/error.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/misc/error.c b/misc/error.c
index e5d5588..b229d56 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)