about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2006-02-22 07:30:15 +0000
committerRoland McGrath <roland@gnu.org>2006-02-22 07:30:15 +0000
commit9b07a801b81b30ca19cf375cf28378284ffaa15a (patch)
treebe173e4a152fe8704134fcf8c203fc635d22aa12
parent76ecf81ebf76fdccaf7b46c208039ad5427fa2a0 (diff)
downloadglibc-9b07a801b81b30ca19cf375cf28378284ffaa15a.tar.gz
glibc-9b07a801b81b30ca19cf375cf28378284ffaa15a.tar.xz
glibc-9b07a801b81b30ca19cf375cf28378284ffaa15a.zip
* nscd/selinux.c (audit_init): Print error string in the failure
	message.
-rw-r--r--ChangeLog5
-rw-r--r--nscd/selinux.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 14e00523bd..b9474b45cc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/nscd/selinux.c b/nscd/selinux.c
index f0ac3cdf9a..c59251f1b5 100644
--- a/nscd/selinux.c
+++ b/nscd/selinux.c
@@ -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 */