summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/common/xattr/xattr_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/common/xattr/xattr_common.c b/usr/src/common/xattr/xattr_common.c
index a40cd03909..e9b511bd99 100644
--- a/usr/src/common/xattr/xattr_common.c
+++ b/usr/src/common/xattr/xattr_common.c
@@ -115,7 +115,7 @@ xattr_view_t
attr_to_xattr_view(f_attr_t attr)
{
if (attr >= F_ATTR_ALL || attr < 0)
- return (NULL);
+ return (XATTR_VIEW_INVALID);
return (xattrs[attr].x_xattr_view);
}