diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2020-08-06 20:31:50 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2020-08-06 20:31:50 +0000 |
commit | dd7660e5bdfb6510c993f066723b1669c14ceec6 (patch) | |
tree | 5cfbd88a23ac14867ba09cd32a05af7c524170b3 /cddl/contrib/opensolaris/tools/ctf | |
parent | 8bdf81e4d14d9b31cd0a7931de59510c3a6761c2 (diff) | |
download | src-dd7660e5bdfb6510c993f066723b1669c14ceec6.tar.gz src-dd7660e5bdfb6510c993f066723b1669c14ceec6.zip |
Fix clang 11 -Wformat warnings in yp_mkdb:
usr.sbin/yp_mkdb/yp_mkdb.c:91:40: error: format specifies type 'char *' but the argument has type 'void *' [-Werror,-Wformat]
printf("%.*s %.*s\n", (int)key.size, key.data, (int)data.size,
~~~~ ^~~~~~~~
usr.sbin/yp_mkdb/yp_mkdb.c:92:7: error: format specifies type 'char *' but the argument has type 'void *' [-Werror,-Wformat]
data.data);
^~~~~~~~~
MFC after: 3 days
Notes
Notes:
svn path=/head/; revision=363988
Diffstat (limited to 'cddl/contrib/opensolaris/tools/ctf')
0 files changed, 0 insertions, 0 deletions