diff options
author | kientzle <kientzle@FreeBSD.org> | 2004-08-27 03:52:29 +0000 |
---|---|---|
committer | kientzle <kientzle@FreeBSD.org> | 2004-08-27 03:52:29 +0000 |
commit | 09461d1cd48691596892d930b4e7291a2f8b67d9 (patch) | |
tree | f20cb6cf302ee8d0e7a9d11e6ed563fe3c1ae12e /contrib/gnu-sort | |
parent | 73bbade4279c7fce2e936462155217aed268dbd8 (diff) | |
download | FreeBSD-src-09461d1cd48691596892d930b4e7291a2f8b67d9.zip FreeBSD-src-09461d1cd48691596892d930b4e7291a2f8b67d9.tar.gz |
Correct va_end usage.
Thanks to: Sean McNeil
MFC after: 3 days
Diffstat (limited to 'contrib/gnu-sort')
-rw-r--r-- | contrib/gnu-sort/lib/version-etc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/gnu-sort/lib/version-etc.c b/contrib/gnu-sort/lib/version-etc.c index 204d262..ccc135b 100644 --- a/contrib/gnu-sort/lib/version-etc.c +++ b/contrib/gnu-sort/lib/version-etc.c @@ -63,6 +63,9 @@ version_etc_va (FILE *stream, n_authors = 0; while (va_arg (tmp_authors, const char *) != NULL) ++n_authors; +#ifdef va_copy + va_end (tmp_authors); +#endif } if (command_name) |