diff options
author | Roland McGrath <roland@gnu.org> | 2006-02-22 07:30:15 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2006-02-22 07:30:15 +0000 |
commit | 9b07a801b81b30ca19cf375cf28378284ffaa15a (patch) | |
tree | be173e4a152fe8704134fcf8c203fc635d22aa12 /nscd/selinux.c | |
parent | 76ecf81ebf76fdccaf7b46c208039ad5427fa2a0 (diff) | |
download | glibc-9b07a801b81b30ca19cf375cf28378284ffaa15a.zip glibc-9b07a801b81b30ca19cf375cf28378284ffaa15a.tar.gz glibc-9b07a801b81b30ca19cf375cf28378284ffaa15a.tar.bz2 |
* nscd/selinux.c (audit_init): Print error string in the failure
message.
Diffstat (limited to 'nscd/selinux.c')
-rw-r--r-- | nscd/selinux.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nscd/selinux.c b/nscd/selinux.c index f0ac3cd..c59251f 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 */ |