HomeFreeBSD

Apply tentative fix for clang 11 warning in pam_exec(8):

Description

Apply tentative fix for clang 11 warning in pam_exec(8):

lib/libpam/modules/pam_exec/pam_exec.c:222:56: error: format specifies type 'char *' but the argument has type 'const void *' [-Werror,-Wformat]

if (asprintf(&envstr, "%s=%s", pam_item_env[i].name, item) < 0)
                          ~~                         ^~~~

(cherry picked from commit 228005931ca9c800e306e7b7d4aa0803197fea7d)

Details

Provenance
dimAuthored on Aug 6 2020, 7:31 PM
Parents
rGd34fb19a1627: Merge llvm-project llvmorg-11.0.1-0-g43ff75f2c3f (aka 11.0.1 release)
Branches
Unknown
Tags
Unknown