summaryrefslogtreecommitdiffstats
path: root/sys/geom/geom_ctl.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-06-07 10:16:53 +0000
committerphk <phk@FreeBSD.org>2003-06-07 10:16:53 +0000
commit69b4e9ce0114dea78c811d6c01cd8ebd9b810fc5 (patch)
treee42f41384b3d3867c6ecb12f9c7c63491a6db503 /sys/geom/geom_ctl.c
parent10afeb827154cef535bf9fb2c0fc4a2d5af0849d (diff)
downloadFreeBSD-src-69b4e9ce0114dea78c811d6c01cd8ebd9b810fc5.zip
FreeBSD-src-69b4e9ce0114dea78c811d6c01cd8ebd9b810fc5.tar.gz
Add missing va_end() calls.
Noticed by: tmm
Diffstat (limited to 'sys/geom/geom_ctl.c')
-rw-r--r--sys/geom/geom_ctl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/geom/geom_ctl.c b/sys/geom/geom_ctl.c
index c113076..0d6edfd 100644
--- a/sys/geom/geom_ctl.c
+++ b/sys/geom/geom_ctl.c
@@ -102,6 +102,7 @@ gctl_error(struct gctl_req *req, const char *fmt, ...)
va_start(ap, fmt);
sbuf_vprintf(req->serror, fmt, ap);
+ va_end(ap);
sbuf_finish(req->serror);
if (g_debugflags & G_F_CTLDUMP)
printf("gctl %p error \"%s\"\n", req, sbuf_data(req->serror));
OpenPOWER on IntegriCloud