Imported Upstream version 2.5.2p1
[debian/amanda] / server-src / logfile.c
index c1d3e26b35ac1609dfc408b5c721c2df2c2cbf94..ccddd26aaa2bfd97807f8e3cc20737d375d00017 100644 (file)
@@ -104,6 +104,7 @@ printf_arglist_function2(char *log_genstring, logtype_t, typ, char *, pname, cha
     arglist_start(argp, format);
     vsnprintf(linebuf, SIZEOF(linebuf)-1, format, argp);
                                                /* -1 to allow for '\n' */
+    arglist_end(argp);
     return(vstralloc(leader, linebuf, "\n", NULL));
 }