Blame SOURCES/0001-Add-a-missing-va_end-call.patch

3709cf
From 6b93b699cc57c433ddd0f8a055c73a4b05b575fa Mon Sep 17 00:00:00 2001
3709cf
From: =?UTF-8?q?Ond=C5=99ej=20Lyson=C4=9Bk?= <olysonek@redhat.com>
3709cf
Date: Mon, 13 Aug 2018 14:39:42 +0200
3709cf
Subject: [PATCH 1/7] Add a missing va_end() call
3709cf
MIME-Version: 1.0
3709cf
Content-Type: text/plain; charset=UTF-8
3709cf
Content-Transfer-Encoding: 8bit
3709cf
3709cf
Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
3709cf
---
3709cf
 src/common.c | 1 +
3709cf
 1 file changed, 1 insertion(+)
3709cf
3709cf
diff --git a/src/common.c b/src/common.c
3709cf
index 86d806c..48f68f9 100644
3709cf
--- a/src/common.c
3709cf
+++ b/src/common.c
3709cf
@@ -74,6 +74,7 @@ void do_log(const char *line, ...)
3709cf
 	  (ptr->tm_year)+1900, (ptr->tm_mon)+1, ptr->tm_mday,
3709cf
 	  ptr->tm_hour, ptr->tm_min, ptr->tm_sec);
3709cf
   vfprintf(logfile, line, ap);
3709cf
+  va_end(ap);
3709cf
   fprintf(logfile, "\n");
3709cf
   fclose(logfile);
3709cf
 #else
3709cf
-- 
3709cf
2.14.4
3709cf