diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-06-24 16:26:23 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-06-24 16:26:23 +1000 |
commit | 6da26870e0ae5acd6ff49a30ec2f6886b44d095e (patch) | |
tree | 850c71039563c16a5d563c47e7ba2ab645baf198 /examples/VFS | |
parent | 6925a799d04c6fa59dd2ddef1f5510f9bb7d17d1 (diff) | |
parent | 2610c05b5b95cc7036b3d6dfb894c6cfbdb68483 (diff) | |
download | samba-6da26870e0ae5acd6ff49a30ec2f6886b44d095e.tar.gz samba-6da26870e0ae5acd6ff49a30ec2f6886b44d095e.tar.bz2 samba-6da26870e0ae5acd6ff49a30ec2f6886b44d095e.zip |
Merge 2610c05b5b95cc7036b3d6dfb894c6cfbdb68483 as Samba-4.0alpha16
Diffstat (limited to 'examples/VFS')
-rw-r--r-- | examples/VFS/shadow_copy_test.c | 2 | ||||
-rw-r--r-- | examples/VFS/skel_opaque.c | 2 | ||||
-rw-r--r-- | examples/VFS/skel_transparent.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/examples/VFS/shadow_copy_test.c b/examples/VFS/shadow_copy_test.c index fab7007046..d4da23846f 100644 --- a/examples/VFS/shadow_copy_test.c +++ b/examples/VFS/shadow_copy_test.c @@ -59,7 +59,7 @@ static int test_get_shadow_copy_data(vfs_handle_struct *handle, files_struct *fs if (labels) { if (num) { - shadow_copy_data->labels = TALLOC_ZERO_ARRAY(shadow_copy_data->mem_ctx,SHADOW_COPY_LABEL,num); + shadow_copy_data->labels = talloc_zero_array(shadow_copy_data->mem_ctx,SHADOW_COPY_LABEL,num); } else { shadow_copy_data->labels = NULL; } diff --git a/examples/VFS/skel_opaque.c b/examples/VFS/skel_opaque.c index f60f0fe162..f8399935d3 100644 --- a/examples/VFS/skel_opaque.c +++ b/examples/VFS/skel_opaque.c @@ -293,7 +293,7 @@ static int skel_chdir(vfs_handle_struct *handle, const char *path) return -1; } -static char *skel_getwd(vfs_handle_struct *handle, char *buf) +static char *skel_getwd(vfs_handle_struct *handle) { errno = ENOSYS; return NULL; diff --git a/examples/VFS/skel_transparent.c b/examples/VFS/skel_transparent.c index f06e02afe5..7c91a615b1 100644 --- a/examples/VFS/skel_transparent.c +++ b/examples/VFS/skel_transparent.c @@ -280,9 +280,9 @@ static int skel_chdir(vfs_handle_struct *handle, const char *path) return SMB_VFS_NEXT_CHDIR(handle, path); } -static char *skel_getwd(vfs_handle_struct *handle, char *buf) +static char *skel_getwd(vfs_handle_struct *handle) { - return SMB_VFS_NEXT_GETWD(handle, buf); + return SMB_VFS_NEXT_GETWD(handle); } static int skel_ntimes(vfs_handle_struct *handle, |