]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r363988: master
authordim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 10 Aug 2020 17:35:58 +0000 (17:35 +0000)
committerdim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 10 Aug 2020 17:35:58 +0000 (17:35 +0000)
commit2390fd20a60ace6b644b35050c40fe0022aff597
tree646048e0ff90a840c766ef6ce62093d6ffc7dbf1
parent03ed44f74b1c608ea21b06ea3d6314427d015930
MFC r363988:

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);
                    ^~~~~~~~~

git-svn-id: svn://svn.freebsd.org/base/stable/9@364084 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.sbin/yp_mkdb/yp_mkdb.c