s3-talloc Change TALLOC_ZERO_ARRAY() to talloc_zero_array()
[sfrench/samba-autobuild/.git] / examples / VFS / shadow_copy_test.c
index fab7007046f51373bd8d0aec399c7e6f637a5b25..d4da23846fca0fe5b5917315857fa2ce5db7c27b 100644 (file)
@@ -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;
                }