projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add header include for DragonFlyBSD
[fio.git]
/
engines
/
sg.c
diff --git
a/engines/sg.c
b/engines/sg.c
index 6272b79b568242239ae93cd028e919029b83c7b7..8acbd50adbe0ccecb98c886ed718aa74941870a8 100644
(file)
--- a/
engines/sg.c
+++ b/
engines/sg.c
@@
-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;
}