HomeFreeBSD

Description

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

Details

Provenance
dimAuthored on Aug 10 2020, 5:35 PM
Parents
rG3d13ece4a9f1: MFC r362623:
Branches
Unknown
Tags
Unknown

Event Timeline