[PATCH 1/6] Add a missing va_end() call
Ondřej Lysoněk
olysonek at redhat.com
Mon Jul 30 16:11:07 BST 2018
Signed-off-by: Ondřej Lysoněk <olysonek at redhat.com>
---
src/common.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/common.c b/src/common.c
index 1f4f20c..c70de18 100644
--- a/src/common.c
+++ b/src/common.c
@@ -76,6 +76,7 @@ void do_log(const char *line, ...)
(ptr->tm_year)+1900, (ptr->tm_mon)+1, ptr->tm_mday,
ptr->tm_hour, ptr->tm_min, ptr->tm_sec);
vfprintf(logfile, line, ap);
+ va_end(ap);
fprintf(logfile, "\n");
fclose(logfile);
#else
--
2.14.4
More information about the minicom-devel
mailing list