commit | 7fc81dbe945ceb473a40396e09d45f1c2f5c7596 | [log] [tgz] |
---|---|---|
author | Ken Dreyer <kdreyer@redhat.com> | Mon Jan 26 13:29:41 2015 -0700 |
committer | Cyril Hrubis <chrubis@suse.cz> | Tue Jan 27 15:14:06 2015 +0100 |
tree | d09b381756d0c4d8055796d2662d7ce34455d308 | |
parent | 7cc39577eb1c54b6eaec6a4da11da296a78accb1 [diff] |
diotest: use safe format argument to tst_resm() Prior to this commit, the diotest4 test failed to build if -Werror=format-security was used. The compiler could not examine the contents of the msg variable. Adjust the tst_resm calls so that the format string is a string literal. Fedora recently enabled this compiler option in their RPM builds, so this fixes the build on Fedora 21. Signed-off-by: Ken Dreyer <kdreyer@redhat.com>