HomeFreeBSD

Fix clang 11 -Wformat warnings in yp_mkdb:

Description

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

Details

Provenance
dimAuthored on Aug 6 2020, 8:31 PM
Parents
rG8bdf81e4d14d: Add CTL support for REPORT IDENTIFYING INFORMATION command.
Branches
Unknown
Tags
Unknown

Event Timeline