commit | 8c97e9dddcafc29c8cd9d6455ae7599126fd6789 | [log] [tgz] |
---|---|---|
author | Ken Dreyer <kdreyer@redhat.com> | Tue Dec 09 16:26:00 2014 -0700 |
committer | Ken Dreyer <kdreyer@redhat.com> | Tue Dec 09 16:26:00 2014 -0700 |
tree | 1488488d615136a85619d5747eb7700aecd06e94 | |
parent | 5c7c3fb219957484db92111d423e4e2553fb580b [diff] |
asapi_05: use safe format argument to tst_resm() Prior to this commit, the asapi_05 test failed to build if -Werror=format-security was used. The compiler could not examine the contents of the ftab array. Adjust the tst_resm call 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>