next_ss = STEADYSTATE_MSEC - (since_ss - STEADYSTATE_MSEC);
else
next_ss = STEADYSTATE_MSEC;
- }
- else
+ } else
next_ss = STEADYSTATE_MSEC - since_ss;
}
struct helper_data *hd;
int ret;
- hd = smalloc(sizeof(*hd));
+ hd = scalloc(1, sizeof(*hd));
setup_disk_util();
steadystate_setup();