parse: Fix two compiler warnings
[fio.git] / helper_thread.c
index 64e5a3c9d79277fe160065b9cab8f42a27ab78c6..b05f8212a6210e4cd9f00f6147759e3e5418249a 100644 (file)
@@ -156,7 +156,7 @@ int helper_thread_create(struct fio_mutex *startup_mutex, struct sk_out *sk_out)
        struct helper_data *hd;
        int ret;
 
-       hd = smalloc(sizeof(*hd));
+       hd = scalloc(1, sizeof(*hd));
 
        setup_disk_util();
        steadystate_setup();