1
0
mirror of https://github.com/Yubico/yubico-pam.git synced 2025-01-19 07:52:23 +01:00

use correct modifier for size_t print

This commit is contained in:
Klas Lindfors 2015-10-08 10:29:08 +02:00
parent 9c8553f297
commit 0bd785cf3a

View File

@ -300,7 +300,7 @@ authorize_user_token_ldap (struct cfg *cfg,
if (cfg->user_attr && cfg->yubi_attr && cfg->ldapdn) {
i = (strlen(cfg->user_attr) + strlen(cfg->ldapdn) + strlen(user) + 3) * sizeof(char);
if ((find = malloc(i)) == NULL) {
DBG (("Failed allocating %i bytes", i));
DBG (("Failed allocating %zu bytes", i));
retval = 0;
goto done;
}