diff options
Diffstat (limited to 'usr/src/uts/common/syscall/readlink.c')
-rw-r--r-- | usr/src/uts/common/syscall/readlink.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/src/uts/common/syscall/readlink.c b/usr/src/uts/common/syscall/readlink.c index aaeff14c0d..4c31e16d3f 100644 --- a/usr/src/uts/common/syscall/readlink.c +++ b/usr/src/uts/common/syscall/readlink.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. */ @@ -77,7 +77,7 @@ lookup: * object to look like a symlink at user-level. */ vattr.va_mask = AT_TYPE; - error = VOP_GETATTR(vp, &vattr, 0, CRED()); + error = VOP_GETATTR(vp, &vattr, 0, CRED(), NULL); if (error || vattr.va_type != VLNK) { VN_RELE(vp); if ((error == ESTALE) && @@ -94,7 +94,7 @@ lookup: auio.uio_segflg = UIO_USERSPACE; auio.uio_extflg = UIO_COPY_CACHED; auio.uio_resid = cnt; - error = VOP_READLINK(vp, &auio, CRED()); + error = VOP_READLINK(vp, &auio, CRED(), NULL); VN_RELE(vp); if (error) { if ((error == ESTALE) && fs_need_estale_retry(estale_retry++)) |