* nscd/selinux.c (audit_init): Print error string in the failure

message.
This commit is contained in:
Roland McGrath 2006-02-22 07:30:15 +00:00
parent 76ecf81ebf
commit 9b07a801b8
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2005-10-03 Jakub Jelinek <jakub@redhat.com>
* nscd/selinux.c (audit_init): Print error string in the failure
message.
2006-02-21 Roland McGrath <roland@redhat.com>
* sysdeps/unix/sysv/linux/kernel-features.h

View file

@ -1,5 +1,5 @@
/* SELinux access controls for nscd.
Copyright (C) 2004, 2005 Free Software Foundation, Inc.
Copyright (C) 2004, 2005, 2006 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Matthew Rickard <mjricka@epoch.ncsc.mil>, 2004.
@ -147,7 +147,7 @@ audit_init (void)
if (audit_fd < 0
/* If kernel doesn't support audit, bail out */
&& errno != EINVAL && errno != EPROTONOSUPPORT && errno != EAFNOSUPPORT)
dbg_log (_("Failed opening connection to the audit subsystem"));
dbg_log (_("Failed opening connection to the audit subsystem: %m"));
}
#endif /* HAVE_LIBAUDIT */