projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e41aac4
)
[NETFILTER]: Fix compilation when no PROC_FS enabled
author
Harald Welte
<laforge@netfilter.org>
Thu, 11 Aug 2005 22:30:45 +0000
(15:30 -0700)
committer
David 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
patch
|
blob
|
blame
|
history
diff --git
a/net/netfilter/nf_log.c
b/net/netfilter/nf_log.c
index 573e76a770d95e2858e0da28ebc555aca9b2f979..3e76bd0824a25b7c31e60ea4a5d59e27745f12fc 100644
(file)
--- a/
net/netfilter/nf_log.c
+++ b/
net/netfilter/nf_log.c
@@
-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;
}