summaryrefslogtreecommitdiffstats
path: root/userspace
diff options
context:
space:
mode:
authorPetri Gynther <petri.gynther@gmail.com>2013-02-24 10:56:59 +0100
committerBart De Schuymer <bdschuym@pandora.be>2013-02-24 10:56:59 +0100
commit4add7a97ae906a0dd74217618be23d90ea0fe2ac (patch)
tree75a1642c2b7eeaf8f36810704af4399367488653 /userspace
parent080e3f7e85342cfb74453c8f992ab2e930edb956 (diff)
fix compilation warning
Diffstat (limited to 'userspace')
-rw-r--r--userspace/ebtables2/communication.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/userspace/ebtables2/communication.c b/userspace/ebtables2/communication.c
index 62ed667..ba058c0 100644
--- a/userspace/ebtables2/communication.c
+++ b/userspace/ebtables2/communication.c
@@ -282,7 +282,7 @@ static int store_counters_in_file(char *filename, struct ebt_u_replace *repl)
}
close_file:
fclose(file);
- return 0;
+ return ret;
}
/* Gets executed after ebt_deliver_table. Delivers the counters to the kernel