]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[NETFILTER]: Fix compilation when no PROC_FS enabled
authorHarald Welte <laforge@netfilter.org>
Thu, 11 Aug 2005 22:30:45 +0000 (15:30 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 29 Aug 2005 22:56:54 +0000 (15:56 -0700)
Signed-off-by: Harald Welte <laforge@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/nf_log.c

index 573e76a770d95e2858e0da28ebc555aca9b2f979..3e76bd0824a25b7c31e60ea4a5d59e27745f12fc 100644 (file)
@@ -167,12 +167,12 @@ int __init netfilter_log_init(void)
 {
 #ifdef CONFIG_PROC_FS
        struct proc_dir_entry *pde;
+
        pde = create_proc_entry("nf_log", S_IRUGO, proc_net_netfilter);
-#endif
        if (!pde)
                return -1;
 
        pde->proc_fops = &nflog_file_ops;
-
+#endif
        return 0;
 }