about summary refs log tree commit diff
path: root/nscd/selinux.c
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 /nscd/selinux.c
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.
Diffstat (limited to 'nscd/selinux.c')
-rw-r--r--nscd/selinux.c4
1 files changed, 2 insertions, 2 deletions
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 */