summaryrefslogtreecommitdiffstats
path: root/ip6tables-restore.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2008-06-07 15:15:29 +0200
committerPatrick McHardy <kaber@trash.net>2008-06-07 15:15:29 +0200
commit0ea82bc43e9262cdbb9880ca56bb514db4c77f8e (patch)
tree07ad82fe41e40a83b01bba3f7710841b6d426080 /ip6tables-restore.c
parentddffcfbe3c97d1eb81d497261ff376cd336974b3 (diff)
sparse warning fixes: integer used as pointer
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'ip6tables-restore.c')
-rw-r--r--ip6tables-restore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ip6tables-restore.c b/ip6tables-restore.c
index 9f6108a2..cd6dd032 100644
--- a/ip6tables-restore.c
+++ b/ip6tables-restore.c
@@ -124,7 +124,7 @@ int main(int argc, char *argv[])
int c;
char curtable[IP6T_TABLE_MAXNAMELEN + 1];
FILE *in;
- const char *modprobe = 0;
+ const char *modprobe = NULL;
int in_table = 0, testing = 0;
program_name = "ip6tables-restore";