add a missing va_end(), found by one of espie@'s students

This commit is contained in:
naddy 2011-06-14 22:00:13 +00:00
parent 51323a26f8
commit 5befe06c11
2 changed files with 13 additions and 1 deletions

View File

@ -1,9 +1,10 @@
# $OpenBSD: Makefile,v 1.65 2011/06/02 17:09:31 kili Exp $
# $OpenBSD: Makefile,v 1.66 2011/06/14 22:00:13 naddy Exp $
COMMENT= GNU version of the traditional tape archiver
DISTNAME= tar-1.26
PKGNAME= g${DISTNAME}
REVISION= 0
CATEGORIES= archivers
HOMEPAGE= http://www.gnu.org/software/tar/

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-rmt_rmt_c,v 1.1 2011/06/14 22:00:13 naddy Exp $
--- rmt/rmt.c.orig Tue Jun 14 23:42:53 2011
+++ rmt/rmt.c Tue Jun 14 23:43:46 2011
@@ -102,6 +102,7 @@ rmt_write (const char *fmt, ...)
vfprintf (stdout, fmt, ap);
fflush (stdout);
VDEBUG (10, "S: ", fmt, ap);
+ va_end (ap);
}
static void