File 0004-imfile-add-declaration-for-restart.patch of Package rsyslog.15978
From 84cf08c376d7e1941a0a8fe4022f397211d6c0dd Mon Sep 17 00:00:00 2001
From: Thomas Blume <thomas.blume@suse.com>
Date: Mon, 15 Jul 2019 09:47:50 +0200
Subject: [PATCH 4/7] imfile add declaration for restart
taken from 3822da837e4d531e8a9cd78ae76359a410f8d98d (Symlink support for
imfile)
---
plugins/imfile/imfile.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/plugins/imfile/imfile.c b/plugins/imfile/imfile.c
index a13687df8..a09ff4c9f 100644
--- a/plugins/imfile/imfile.c
+++ b/plugins/imfile/imfile.c
@@ -615,6 +615,7 @@ detect_updates(fs_edge_t *const edge)
{
act_obj_t *act;
struct stat fileInfo;
+ int restart = 0;
for(act = edge->active ; act != NULL ; ) {
DBGPRINTF("detect_updates checking active obj '%s'\n", act->name);
--
2.16.4