summaryrefslogtreecommitdiff
path: root/usr.bin/make/error.c
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2002-05-17 11:58:57 +0000
committerMarc Espie <espie@cvs.openbsd.org>2002-05-17 11:58:57 +0000
commitc6631e15371a31c203e3156c68071b9b6bd16b49 (patch)
tree986cabb3a48641847e8777774837da1bd6751e67 /usr.bin/make/error.c
parent1bb268efb22606ee10f2bdb98d1dc1207b7d325c (diff)
oops, worked only because va_end is a noop on most of our arches.
Diffstat (limited to 'usr.bin/make/error.c')
-rw-r--r--usr.bin/make/error.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/make/error.c b/usr.bin/make/error.c
index 086739a4ed4..b5fd187fcb3 100644
--- a/usr.bin/make/error.c
+++ b/usr.bin/make/error.c
@@ -1,5 +1,5 @@
/* $OpenPackages$ */
-/* $OpenBSD: error.c,v 1.10 2002/02/19 19:39:38 millert Exp $ */
+/* $OpenBSD: error.c,v 1.11 2002/05/17 11:58:56 espie Exp $ */
/*
* Copyright (c) 2001 Marc Espie.
@@ -175,6 +175,6 @@ Parse_Error(int type, const char *fmt, ...)
va_start(ap, fmt);
ParseVErrorInternal(Parse_Getfilename(), Parse_Getlineno(), type, fmt, ap);
- va_end(va);
+ va_end(ap);
}