X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=stat.c;h=f71c5f03a574f4a7d3f1af222527b4ec7a78f7a9;hb=c1302d44dd1720bebe5308f976b59d879d994fd3;hp=a8f2b02665b2b21f278bcef35af984dc2e61e0d0;hpb=c0a6b0d8fcf07512fad42ba16613da83ceec4475;p=fio.git diff --git a/stat.c b/stat.c index a8f2b026..f71c5f03 100644 --- a/stat.c +++ b/stat.c @@ -14,7 +14,7 @@ static struct list_head disk_list = LIST_HEAD_INIT(disk_list); static dev_t last_dev; /* - * Cheasy number->string conversion, complete with carry rounding error. + * Cheesy number->string conversion, complete with carry rounding error. */ static char *num2str(unsigned long num, int maxlen, int base) { @@ -246,7 +246,7 @@ void init_disk_util(struct thread_data *td) dev_t dev; char *p; - if (!td->do_disk_util || (td->io_ops->flags & (FIO_NETIO | FIO_NULLIO))) + if (!td->do_disk_util || (td->io_ops->flags & FIO_DISKLESSIO)) return; /*