projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cmdprio: do not allocate memory for unused data direction
[fio.git]
/
engines
/
e4defrag.c
diff --git
a/engines/e4defrag.c
b/engines/e4defrag.c
index 8f71d02caa947867339d980e0f2722c9a5751b8d..0a0004d0477fc795dd415d417a6c935f4cfb3131 100644
(file)
--- a/
engines/e4defrag.c
+++ b/
engines/e4defrag.c
@@
-72,7
+72,7
@@
static int fio_e4defrag_init(struct thread_data *td)
struct stat stub;
char donor_name[PATH_MAX];
- if (!strlen(o->donor_name)) {
+ if (!
o->donor_name || !
strlen(o->donor_name)) {
log_err("'donorname' options required\n");
return 1;
}