commit | 01d4979695dfe041056c4f12bca15fb4119a96db | [log] [tgz] |
---|---|---|
author | Alexey Kodanev <alexey.kodanev@oracle.com> | Wed May 04 15:23:11 2016 +0300 |
committer | Alexey Kodanev <alexey.kodanev@oracle.com> | Wed May 11 12:35:46 2016 +0300 |
tree | 6df675b093481451e8520b995d3dc8574c215254 | |
parent | b3494f11c003e0cba3da84b4d366b5a52c0341db [diff] |
direct_io/diotest1.c: fix gcc warning and use test temp directory Unlike other diotests, diotest1 doesn't use temporary directory for its test files but rather the directory it is run in. also fix: * fix old-style definition warning for prg_usage(); * use SAFE_* macros; * add cleanup(). Signed-off-by: Alexey Kodanev <alexey.kodanev@oracle.com> Acked-by: Cyril Hrubis <chrubis@suse.cz>