summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/syscall/symlink.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/common/syscall/symlink.c')
-rw-r--r--usr/src/uts/common/syscall/symlink.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr/src/uts/common/syscall/symlink.c b/usr/src/uts/common/syscall/symlink.c
index 700029cf73..99dcdf01a4 100644
--- a/usr/src/uts/common/syscall/symlink.c
+++ b/usr/src/uts/common/syscall/symlink.c
@@ -19,7 +19,7 @@
* CDDL HEADER END
*/
/*
- * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2010 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -31,8 +31,6 @@
* under license from the Regents of the University of California.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#include <sys/param.h>
#include <sys/isa_defs.h>
#include <sys/types.h>
@@ -84,7 +82,7 @@ top:
vattr.va_mask = AT_TYPE|AT_MODE;
error = VOP_SYMLINK(dvp, lpn.pn_path, &vattr,
tbuf, CRED(), NULL, 0);
- if (audit_active)
+ if (AU_AUDITING())
audit_symlink_create(dvp, lpn.pn_path,
tbuf, error);
}