return;
fio_gettime(&now, NULL);
- fprintf(td->iolog_f, "%lu %s %s %llu %llu\n", utime_since_now(&td->io_log_start_time),
- io_u->file->file_name,
- io_ddir_name(io_u->ddir),
- io_u->offset, io_u->buflen);
+ fprintf(td->iolog_f, "%lu %s %s %llu %llu\n",
+ (unsigned long) utime_since_now(&td->io_log_start_time),
+ io_u->file->file_name, io_ddir_name(io_u->ddir),
+ io_u->offset, io_u->buflen);
}
return;
fio_gettime(&now, NULL);
- fprintf(td->iolog_f, "%lu %s %s\n", utime_since_now(&td->io_log_start_time),
- f->file_name, act[what]);
+ fprintf(td->iolog_f, "%lu %s %s\n",
+ (unsigned long) utime_since_now(&td->io_log_start_time),
+ f->file_name, act[what]);
}
static void iolog_delay(struct thread_data *td, unsigned long delay)