OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.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
|
history
diff --git
a/net/netfilter/nf_log.c
b/net/netfilter/nf_log.c
index
573e76a
..
3e76bd0
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;
}