Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 62243927 authored by Harald Welte's avatar Harald Welte Committed by David S. Miller
Browse files

[NETFILTER]: Fix compilation when no PROC_FS enabled

parent e41aac41
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;
}