]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r363988:
authorDimitry Andric <dim@FreeBSD.org>
Mon, 10 Aug 2020 17:35:58 +0000 (17:35 +0000)
committerDimitry Andric <dim@FreeBSD.org>
Mon, 10 Aug 2020 17:35:58 +0000 (17:35 +0000)
commitfe9a6e1d5918c476c4a901594c5515d2eac0a9f7
treea4c5d0e8d8a4aa18ff1dae2ad66dbe9abe4b10ba
parentbb43bdcfb04d7a13157e47aa3a69764269ef5356
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);
                    ^~~~~~~~~
usr.sbin/yp_mkdb/yp_mkdb.c