diff options
Diffstat (limited to 'kernel/audit.c')
-rw-r--r-- | kernel/audit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/audit.c b/kernel/audit.c index eb0f9165b401..f3c390f6c0b4 100644 --- a/kernel/audit.c +++ b/kernel/audit.c | |||
@@ -876,8 +876,8 @@ static int __init audit_init(void) | |||
876 | 876 | ||
877 | printk(KERN_INFO "audit: initializing netlink socket (%s)\n", | 877 | printk(KERN_INFO "audit: initializing netlink socket (%s)\n", |
878 | audit_default ? "enabled" : "disabled"); | 878 | audit_default ? "enabled" : "disabled"); |
879 | audit_sock = netlink_kernel_create(NETLINK_AUDIT, 0, audit_receive, | 879 | audit_sock = netlink_kernel_create(&init_net, NETLINK_AUDIT, 0, |
880 | NULL, THIS_MODULE); | 880 | audit_receive, NULL, THIS_MODULE); |
881 | if (!audit_sock) | 881 | if (!audit_sock) |
882 | audit_panic("cannot initialize netlink socket"); | 882 | audit_panic("cannot initialize netlink socket"); |
883 | else | 883 | else |