diff options
-rw-r--r-- | source3/modules/vfs_fruit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/modules/vfs_fruit.c b/source3/modules/vfs_fruit.c index b2d0901a800..a376cc2f82d 100644 --- a/source3/modules/vfs_fruit.c +++ b/source3/modules/vfs_fruit.c @@ -1647,7 +1647,7 @@ static int fruit_close_meta(vfs_handle_struct *handle, break; case FRUIT_META_NETATALK: - ret = close(fsp->fh->fd); + ret = vfs_fake_fd_close(fsp->fh->fd); fsp->fh->fd = -1; break; @@ -1676,7 +1676,7 @@ static int fruit_close_rsrc(vfs_handle_struct *handle, break; case FRUIT_RSRC_XATTR: - ret = close(fsp->fh->fd); + ret = vfs_fake_fd_close(fsp->fh->fd); fsp->fh->fd = -1; break; |