From 1947eb04ddd51d29983f3474eb7ba04ce3bf68a3 Mon Sep 17 00:00:00 2001 From: Kitae Kim Date: Tue, 13 May 2014 17:10:02 +0900 Subject: [PATCH] virtio-9p: fix compilation error on Mac OS X. Change-Id: Iab0dc5472a993dcf392bcdd084154cab6baab238 Signed-off-by: Kitae Kim --- hw/9pfs/virtio-9p-posix-acl.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/hw/9pfs/virtio-9p-posix-acl.c b/hw/9pfs/virtio-9p-posix-acl.c index 9bbcfb5..027c0b7 100644 --- a/hw/9pfs/virtio-9p-posix-acl.c +++ b/hw/9pfs/virtio-9p-posix-acl.c @@ -65,8 +65,6 @@ static int mp_pacl_setxattr(FsContext *ctx, const char *path, const char *name, int ret; buffer = rpath(ctx, path); - ret = lsetxattr(buffer, MAP_ACL_ACCESS, value, size, flags); - #ifdef CONFIG_LINUX ret = lsetxattr(buffer, MAP_ACL_ACCESS, value, size, flags); #else -- 2.7.4