summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2005-10-03 20:54:46 +0000
committerJakub Jelinek <jakub@redhat.com>2005-10-03 20:54:46 +0000
commit3b96d127915428d1c43d6456799e01f9e70a863b (patch)
tree3b7b86da5e913014398cbba78a2c53a8eb357889
parenta5a11654ea5ea89bfffb295fbb2f17cbb45839b6 (diff)
* nscd/selinux.c (audit_init): Print error string in the failure
message.
-rw-r--r--ChangeLog5
-rw-r--r--nscd/selinux.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index ac0c43b789..852a87608e 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.
+
2005-10-03 Roland McGrath <roland@redhat.com>
* sysdeps/powerpc/nofpu: Directory removed, saved in ports repository.
diff --git a/nscd/selinux.c b/nscd/selinux.c
index 91c1442b59..a15e522958 100644
--- a/nscd/selinux.c
+++ b/nscd/selinux.c
@@ -127,7 +127,7 @@ audit_init (void)
{
audit_fd = audit_open ();
if (audit_fd < 0)
- dbg_log (_("Failed opening connection to the audit subsystem"));
+ dbg_log (_("Failed opening connection to the audit subsystem: %m"));
}
#endif /* HAVE_LIBAUDIT */