Add support for options being a power-of-2
[fio.git] / engines / sg.c
index 6272b79b568242239ae93cd028e919029b83c7b7..8acbd50adbe0ccecb98c886ed718aa74941870a8 100644 (file)
@@ -368,6 +368,7 @@ static int fio_sgio_type_check(struct thread_data *td, struct fio_file *f)
                if (ret)
                        return 1;
        } else {
+               td_verror(td, EINVAL, "wrong file type");
                log_err("ioengine sg only works on block devices\n");
                return 1;
        }