diff options
author | ck153898 <none@none> | 2008-01-04 10:49:32 -0800 |
---|---|---|
committer | ck153898 <none@none> | 2008-01-04 10:49:32 -0800 |
commit | f5f5959bd78f309ae446ddd7d5051717490edd2a (patch) | |
tree | 2999e3bfcf454b290bb037de94a53b801c829f90 | |
parent | de81a4f48d467f6d0263221cbf4a199b6a925948 (diff) | |
download | illumos-gate-f5f5959bd78f309ae446ddd7d5051717490edd2a.tar.gz |
6643644 xattrs "ls" output different on SPARC machines
-rw-r--r-- | usr/src/uts/common/fs/xattr.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr/src/uts/common/fs/xattr.c b/usr/src/uts/common/fs/xattr.c index 01e6655d02..9c28d9a5c9 100644 --- a/usr/src/uts/common/fs/xattr.c +++ b/usr/src/uts/common/fs/xattr.c @@ -19,7 +19,7 @@ * CDDL HEADER END */ /* - * Copyright 2007 Sun Microsystems, Inc. All rights reserved. + * Copyright 2008 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -1122,13 +1122,14 @@ xattr_dir_readdir(vnode_t *dvp, uio_t *uiop, cred_t *cr, int *eofp, { vnode_t *pvp; int error; - int local_eof = 0; + int local_eof; int reset_off = 0; int has_xattrs = 0; if (eofp == NULL) { eofp = &local_eof; } + *eofp = 0; /* * See if there is a real extended attribute directory. |