diff options
Diffstat (limited to 'source3/modules/vfs_default.c')
-rw-r--r-- | source3/modules/vfs_default.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/source3/modules/vfs_default.c b/source3/modules/vfs_default.c index 4e993e1666..cf6e24fca0 100644 --- a/source3/modules/vfs_default.c +++ b/source3/modules/vfs_default.c @@ -1649,10 +1649,6 @@ static int vfswrap_set_offline(struct vfs_handle_struct *handle, return -1; } -#ifdef AIX -#undef open /* AIX defines open to be open64 */ -#endif - static struct vfs_fn_pointers vfs_default_fns = { /* Disk operations */ @@ -1680,7 +1676,7 @@ static struct vfs_fn_pointers vfs_default_fns = { /* File operations */ - .open = vfswrap_open, + .open_fn = vfswrap_open, .create_file = vfswrap_create_file, .close_fn = vfswrap_close, .vfs_read = vfswrap_read, |