From 29647c878ec485779b88a0c42f096ce028cabf15 Mon Sep 17 00:00:00 2001 From: Yasuyuki KOZAKAI Date: Tue, 20 Mar 2007 15:51:41 +0000 Subject: Fixes typos in the argument of ip[6]tables_insmod: quit -> quiet --- ip6tables.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ip6tables.c') diff --git a/ip6tables.c b/ip6tables.c index 5cd74176..d2314b77 100644 --- a/ip6tables.c +++ b/ip6tables.c @@ -1751,7 +1751,7 @@ static char *get_modprobe(void) return NULL; } -int ip6tables_insmod(const char *modname, const char *modprobe, int quit) +int ip6tables_insmod(const char *modname, const char *modprobe, int quiet) { char *buf = NULL; char *argv[4]; @@ -1769,7 +1769,7 @@ int ip6tables_insmod(const char *modname, const char *modprobe, int quit) case 0: argv[0] = (char *)modprobe; argv[1] = (char *)modname; - if (quit) { + if (quiet) { argv[2] = "-q"; argv[3] = NULL; } else { @@ -1793,13 +1793,13 @@ int ip6tables_insmod(const char *modname, const char *modprobe, int quit) return -1; } -int load_ip6tables_ko(const char *modprobe, int quit) +int load_ip6tables_ko(const char *modprobe, int quiet) { static int loaded = 0; static int ret = -1; if (!loaded) { - ret = ip6tables_insmod("ip6_tables", modprobe, quit); + ret = ip6tables_insmod("ip6_tables", modprobe, quiet); loaded = (ret == 0); } -- cgit v1.2.3