diff options
-rw-r--r-- | usr.bin/aucat/abuf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/aucat/abuf.c b/usr.bin/aucat/abuf.c index 3fcac3f0ef2..043fe15f3ea 100644 --- a/usr.bin/aucat/abuf.c +++ b/usr.bin/aucat/abuf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: abuf.c,v 1.11 2009/02/13 20:48:49 ratchov Exp $ */ +/* $OpenBSD: abuf.c,v 1.12 2009/07/19 15:49:48 martynas Exp $ */ /* * Copyright (c) 2008 Alexandre Ratchov <alex@caoua.org> * @@ -55,6 +55,7 @@ abuf_dprn(int n, struct abuf *buf, char *fmt, ...) buf->rproc ? buf->rproc->name : "none"); va_start(ap, fmt); vfprintf(stderr, fmt, ap); + va_end(ap); } #define ABUF_DPRN(n, buf, ...) abuf_dprn((n), (buf), __VA_ARGS__) #define ABUF_DPR(buf, ...) abuf_dprn(1, (buf), __VA_ARGS__) |