diff options
Diffstat (limited to 'sys/geom/geom_ctl.c')
-rw-r--r-- | sys/geom/geom_ctl.c | 1 |
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)); |