diff options
author | Harald Welte <laforge@netfilter.org> | 2005-08-11 18:30:45 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2005-08-29 18:56:54 -0400 |
commit | 622439270c74f3ad4f69d1417aca4bb3b79514f4 (patch) | |
tree | fde205886d09db76b0042092be0be7a509791349 | |
parent | e41aac41e3856c87fee52c5b8bca71705d15449b (diff) |
[NETFILTER]: Fix compilation when no PROC_FS enabled
Signed-off-by: Harald Welte <laforge@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | net/netfilter/nf_log.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/netfilter/nf_log.c b/net/netfilter/nf_log.c index 573e76a770d9..3e76bd0824a2 100644 --- a/net/netfilter/nf_log.c +++ b/net/netfilter/nf_log.c | |||
@@ -167,12 +167,12 @@ int __init netfilter_log_init(void) | |||
167 | { | 167 | { |
168 | #ifdef CONFIG_PROC_FS | 168 | #ifdef CONFIG_PROC_FS |
169 | struct proc_dir_entry *pde; | 169 | struct proc_dir_entry *pde; |
170 | |||
170 | pde = create_proc_entry("nf_log", S_IRUGO, proc_net_netfilter); | 171 | pde = create_proc_entry("nf_log", S_IRUGO, proc_net_netfilter); |
171 | #endif | ||
172 | if (!pde) | 172 | if (!pde) |
173 | return -1; | 173 | return -1; |
174 | 174 | ||
175 | pde->proc_fops = &nflog_file_ops; | 175 | pde->proc_fops = &nflog_file_ops; |
176 | 176 | #endif | |
177 | return 0; | 177 | return 0; |
178 | } | 178 | } |