summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/c2/audit.c
diff options
context:
space:
mode:
authortz204579 <none@none>2007-01-05 01:02:16 -0800
committertz204579 <none@none>2007-01-05 01:02:16 -0800
commit405e5d6856fed02d11186de8bc6feb9924e9ab60 (patch)
tree1250998c0b8e4475eae00ebc0937337f20f48845 /usr/src/uts/common/c2/audit.c
parent6567eb0a4e2af187c63b67198ed307f67a4394f3 (diff)
downloadillumos-joyent-405e5d6856fed02d11186de8bc6feb9924e9ab60.tar.gz
4689038 auditon() error return is ambiguous
4823956 file(1) does not recognize Solaris Audit File type 6480592 auditing records incorrect pathnames
Diffstat (limited to 'usr/src/uts/common/c2/audit.c')
-rw-r--r--usr/src/uts/common/c2/audit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/uts/common/c2/audit.c b/usr/src/uts/common/c2/audit.c
index 320d1ad7a0..764632382f 100644
--- a/usr/src/uts/common/c2/audit.c
+++ b/usr/src/uts/common/c2/audit.c
@@ -19,7 +19,7 @@
* CDDL HEADER END
*/
/*
- * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -628,7 +628,7 @@ audit_symlink(struct pathname *pnp, struct pathname *sympath)
/* is there anything to save? */
if (len_path) {
- pnp->pn_path = cp;
+ pnp->pn_path = pnp->pn_buf;
audit_pathbuild(pnp);
pnp->pn_path = sp;
}