]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r363988:
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)
commit5731d2f580ea365c00a4349854fd309c2ae49840
tree2c56099aa5fe5c9003e2031bc0c3d17dfb7a4354
parent120d159c894dcc2a4b6cfe986a1b85157df44e27
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/10@364084 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.sbin/yp_mkdb/yp_mkdb.c