diff options
author | Enji Cooper <ngie@FreeBSD.org> | 2019-01-23 23:06:39 +0000 |
---|---|---|
committer | Enji Cooper <ngie@FreeBSD.org> | 2019-01-23 23:06:39 +0000 |
commit | de00e09d82a9d4962f6d55d550562bd99d440914 (patch) | |
tree | 329dc2b65bd6ef5be7eae483eefb0b7deeb98aff /share/man/man9 | |
parent | 49cf58e55976ac13245e278324b02d592fc6de14 (diff) |
Unbreak the gcc build with sendfile_test after r343362
gcc 8.x is more pedantic than clang 7.x with format strings and the tests
passed `void*` variables while supplying `%s` (which is technically
incorrect).
Make the affected `void*` variables use `char*` storage instead to address
this issue, as the compiler will upcast the values to `char*`.
MFC after: 1 month
MFC with: r343362
Approved by: emaste (mentor; implicit)
Reviewed by: asomers
Differential Revision: https://reviews.freebsd.org/D18934
Notes
Notes:
svn path=/head/; revision=343365
Diffstat (limited to 'share/man/man9')
0 files changed, 0 insertions, 0 deletions