projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3701636
)
Fix aux_path for verify state saving
author
Jens Axboe
<axboe@fb.com>
Fri, 21 Aug 2015 18:09:03 +0000
(11:09 -0700)
committer
Jens Axboe
<axboe@fb.com>
Fri, 21 Aug 2015 18:09:03 +0000
(11:09 -0700)
Botched the string copies.
Fixes:
d264264a08
("Add --aux-path support"
Signed-off-by: Jens Axboe <axboe@fb.com>
verify.c
patch
|
blob
|
blame
|
history
diff --git
a/verify.c
b/verify.c
index 3e92d15c32bba5b50b0252cc541bdcccedc36a23..7608caf5e1ad58e4c6db18e8befd28fcae6da6c3 100644
(file)
--- a/
verify.c
+++ b/
verify.c
@@
-1490,9
+1490,9
@@
void verify_save_state(int mask)
char prefix[PATH_MAX];
if (aux_path)
- sprintf(
aux_path
, "%s%slocal", aux_path, FIO_OS_PATH_SEPARATOR);
+ sprintf(
prefix
, "%s%slocal", aux_path, FIO_OS_PATH_SEPARATOR);
else
- strcpy(
aux_path
, "local");
+ strcpy(
prefix
, "local");
__verify_save_state(state, prefix);
free(state);