X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=backend.c;h=319bd253342e164405d04cc5d1506a1e6f29337e;hp=1f5f3c7f567967ab2f0d662eb6ab9845fadd9515;hb=3c3ed070502bbfec387ded2c43d5e4559ca24a63;hpb=5570ec6a71be9adde6d5f7a6114ba7c9b4a0d680 diff --git a/backend.c b/backend.c index 1f5f3c7f..319bd253 100644 --- a/backend.c +++ b/backend.c @@ -335,8 +335,8 @@ static int break_on_this_error(struct thread_data *td, enum fio_ddir ddir, return 1; if (td_non_fatal_error(err)) { - /* - * Continue with the I/Os in case of + /* + * Continue with the I/Os in case of * a non fatal error. */ update_error_count(td, err); @@ -1091,9 +1091,9 @@ static void *thread_main(void *data) memcpy(&td->tv_cache, &td->start, sizeof(td->start)); if (td->o.ratemin[0] || td->o.ratemin[1]) { - memcpy(&td->lastrate[0], &td->bw_sample_time, + memcpy(&td->lastrate[0], &td->bw_sample_time, sizeof(td->bw_sample_time)); - memcpy(&td->lastrate[1], &td->bw_sample_time, + memcpy(&td->lastrate[1], &td->bw_sample_time, sizeof(td->bw_sample_time)); }