Skip to content

Commit 234212e

Browse files
committed
util: fix use of spdk_posix_file_load_from_name in fio_plugin
Signed-off-by: Diwakar Sharma <[email protected]>
1 parent 181b8e0 commit 234212e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/fio/bdev/fio_plugin.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ spdk_fio_bdev_init_start(void *arg)
311311
{
312312
bool *done = arg;
313313

314-
g_json_data = spdk_posix_file_load_from_name(g_json_config_file, &g_json_data_size);
314+
spdk_posix_file_load_from_name(g_json_config_file, &g_json_data_size, &g_json_data);
315315

316316
if (g_json_data == NULL) {
317317
SPDK_ERRLOG("could not allocate buffer for json config file\n");

0 commit comments

Comments
 (0)