summaryrefslogtreecommitdiff
path: root/usr/src/lib/libbsm/common/audit_user.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/libbsm/common/audit_user.c')
-rw-r--r--usr/src/lib/libbsm/common/audit_user.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/usr/src/lib/libbsm/common/audit_user.c b/usr/src/lib/libbsm/common/audit_user.c
index a8f55d82e6..27c8967162 100644
--- a/usr/src/lib/libbsm/common/audit_user.c
+++ b/usr/src/lib/libbsm/common/audit_user.c
@@ -2,9 +2,8 @@
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
+ * Common Development and Distribution License (the "License").
+ * You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
* CDDL HEADER END
*/
/*
- * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
@@ -142,7 +141,7 @@ getauuserent_r(au_user_ent_t *au_user_entry)
/* open audit user file if it isn't already */
if (!au_user_file)
- if (!(au_user_file = fopen(au_user_fname, "r"))) {
+ if (!(au_user_file = fopen(au_user_fname, "rF"))) {
_mutex_unlock(&mutex_userfile);
return (NULL);
}