X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/fe8ab488e9161c46dd9885d58fc52996dc0249ff..f427ee49d309d8fc33ebf3042c3a775f2f530ded:/tools/tests/perf_index/perfindex-ram_file_create.c diff --git a/tools/tests/perf_index/perfindex-ram_file_create.c b/tools/tests/perf_index/perfindex-ram_file_create.c index 7c24b4a4b..9df49326c 100644 --- a/tools/tests/perf_index/perfindex-ram_file_create.c +++ b/tools/tests/perf_index/perfindex-ram_file_create.c @@ -9,25 +9,25 @@ const char ramdisk_name[] = "StressRAMDisk"; char ramdisk_path[MAXPATHLEN]; DECL_SETUP { - int retval; + int retval; - retval = setup_ram_volume(ramdisk_name, ramdisk_path); - VERIFY(retval == PERFINDEX_SUCCESS, "setup_ram_volume failed"); + retval = setup_ram_volume(ramdisk_name, ramdisk_path); + VERIFY(retval == PERFINDEX_SUCCESS, "setup_ram_volume failed"); - printf("ramdisk: %s\n", ramdisk_path); + printf("ramdisk: %s\n", ramdisk_path); - return PERFINDEX_SUCCESS; + return PERFINDEX_SUCCESS; } DECL_TEST { - return test_file_create(ramdisk_path, thread_id, num_threads, length); + return test_file_create(ramdisk_path, thread_id, num_threads, length); } DECL_CLEANUP { - int retval; + int retval; - retval = cleanup_ram_volume(ramdisk_path); - VERIFY(retval == 0, "cleanup_ram_volume failed"); + retval = cleanup_ram_volume(ramdisk_path); + VERIFY(retval == 0, "cleanup_ram_volume failed"); - return PERFINDEX_SUCCESS; + return PERFINDEX_SUCCESS; }