X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=options.c;h=864e778434f4538de62fd4746456b7f9b1094281;hp=2daa983e0d9b2ef1002bd10ed6156fe8e5ba486f;hb=685ffd575151fec5cf7733a89129a7b44660fe3a;hpb=1c3fa6c92afe0b63d4ded96502393994a1085dbd diff --git a/options.c b/options.c index 2daa983e..864e7784 100644 --- a/options.c +++ b/options.c @@ -282,7 +282,7 @@ static int ignore_error_type(struct thread_data *td, int etype, char *str) } td->o.ignore_error_nr[etype] = 4; - error = malloc(4 * sizeof(struct bssplit)); + error = calloc(4, sizeof(int)); i = 0; while ((fname = strsep(&str, ":")) != NULL) {