audit: print error message when fail to create audit socket
authorGao feng <gaofeng@cn.fujitsu.com>
Tue, 17 Dec 2013 03:10:41 +0000 (11:10 +0800)
committerEric Paris <eparis@redhat.com>
Tue, 14 Jan 2014 03:32:44 +0000 (22:32 -0500)
commit11ee39ebf756821966fe1e2f65df4f728098d467
tree2bbdc6929b99f9a2d179a47b95f6674141177521
parent5ee9a75c9fdaebd3ac8176f9f5c73fdcd27c1ad1
audit: print error message when fail to create audit socket

print the error message and then return -ENOMEM.

Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com>
Acked-by: Eric Paris <eparis@redhat.com>
Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
Signed-off-by: Eric Paris <eparis@redhat.com>
kernel/audit.c