Blame SOURCES/0002-fix-compilation-warning.patch

05e71a
From 10f6865652777ba7f26825d46e8b419f784463dc Mon Sep 17 00:00:00 2001
05e71a
From: Petri Gynther <petri.gynther@gmail.com>
05e71a
Date: Sun, 24 Feb 2013 10:56:59 +0100
05e71a
Subject: [PATCH] fix compilation warning
05e71a
05e71a
Signed-off-by: Phil Sutter <psutter@redhat.com>
05e71a
---
05e71a
 communication.c | 2 +-
05e71a
 1 file changed, 1 insertion(+), 1 deletion(-)
05e71a
05e71a
diff --git a/communication.c b/communication.c
05e71a
index 62ed667deac13..ba058c05a68b4 100644
05e71a
--- a/communication.c
05e71a
+++ b/communication.c
05e71a
@@ -282,7 +282,7 @@ static int store_counters_in_file(char *filename, struct ebt_u_replace *repl)
05e71a
 	}
05e71a
 close_file:
05e71a
 	fclose(file);
05e71a
-	return 0;
05e71a
+	return ret;
05e71a
 }
05e71a
 
05e71a
 /* Gets executed after ebt_deliver_table. Delivers the counters to the kernel
05e71a
-- 
05e71a
2.21.0
05e71a