pam_wrapper: Use a constant string format specifier in test
authorUri Simchoni <uri@samba.org>
Wed, 22 Nov 2017 20:48:23 +0000 (20:48 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 24 Nov 2017 00:13:15 +0000 (01:13 +0100)
commit4fc4e41760af91fb1fa28f6a9a8b1ee7e4d47dbc
treeda77a88a0bf0f9792ee8a083d60c243af781c54b
parent98b1beee721c0ca32e10f4331e767d07be471dd3
pam_wrapper: Use a constant string format specifier in test

This fixes a warning about non-constant format specifier.
clang 4.0.0 warns against non-constant format specifier since
it cannot validate the format against the parameters.

Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(ported from pam_wrapper 9265da3857e9cfa7a00d1ab35aae1e0b0286efad)
lib/pam_wrapper/python/pypamtest.c