PERFORCE change 155339 for review
Robert Watson
rwatson at FreeBSD.org
Sat Dec 27 12:09:55 PST 2008
http://perforce.freebsd.org/chv.cgi?CH=155339
Change 155339 by rwatson at rwatson_cinnamon on 2008/12/27 20:09:40
Don't print out errno when auditd_read_dirs() fails, just the
libauditd error string.
Affected files ...
.. //depot/projects/trustedbsd/openbsm/bin/auditd/auditd.c#41 edit
Differences ...
==== //depot/projects/trustedbsd/openbsm/bin/auditd/auditd.c#41 (text+ko) ====
@@ -26,7 +26,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $P4: //depot/projects/trustedbsd/openbsm/bin/auditd/auditd.c#40 $
+ * $P4: //depot/projects/trustedbsd/openbsm/bin/auditd/auditd.c#41 $
*/
#include <sys/types.h>
@@ -252,7 +252,7 @@
*/
err = auditd_read_dirs(audit_warn_soft, audit_warn_hard);
if (err) {
- auditd_log_err("auditd_read_dirs() %s: %m",
+ auditd_log_err("auditd_read_dirs(): %s",
auditd_strerror(err));
if (err == ADE_HARDLIM)
audit_warn_allhard();
More information about the p4-projects
mailing list