summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorotto <otto@openbsd.org>2007-09-18 07:22:01 +0000
committerotto <otto@openbsd.org>2007-09-18 07:22:01 +0000
commit90e79398d980f0853658bda38843f6fa06365122 (patch)
tree3130c1a4e7543c729cd70c35745ffe418578e0db
parentsome $OpenBSD$s got lost again in the latest merge, noted by Dries (diff)
downloadwireguard-openbsd-90e79398d980f0853658bda38843f6fa06365122.tar.xz
wireguard-openbsd-90e79398d980f0853658bda38843f6fa06365122.zip
merge fomr ragge's repo:
Added missing va_end in werror(), from Graham Gower.
-rw-r--r--usr.bin/pcc/mip/common.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/pcc/mip/common.c b/usr.bin/pcc/mip/common.c
index 0f8e88cbf28..b943a22aef8 100644
--- a/usr.bin/pcc/mip/common.c
+++ b/usr.bin/pcc/mip/common.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: common.c,v 1.4 2007/09/17 07:40:06 otto Exp $ */
+/* $OpenBSD: common.c,v 1.5 2007/09/18 07:22:01 otto Exp $ */
/*
* Copyright (c) 2003 Anders Magnusson (ragge@ludd.luth.se).
* All rights reserved.
@@ -136,6 +136,7 @@ werror(char *s, ...)
fprintf(stderr, "warning: ");
vfprintf(stderr, s, ap);
fprintf(stderr, "\n");
+ va_end(ap);
}
#ifndef MKEXT