summaryrefslogtreecommitdiffstats
path: root/daemon/xattr.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/xattr.c')
-rw-r--r--daemon/xattr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/xattr.c b/daemon/xattr.c
index a908a44b..88947b22 100644
--- a/daemon/xattr.c
+++ b/daemon/xattr.c
@@ -117,7 +117,7 @@ getxattrs (char *path,
guestfs_int_xattr_list *r = NULL;
NEED_ROOT (NULL);
- ABS_PATH (path, NULL);
+ ABS_PATH (path, return NULL);
CHROOT_IN;
len = listxattr (path, NULL, 0);