mirror of
https://github.com/Yubico/yubico-pam.git
synced 2025-01-19 16:52:17 +01:00
use correct modifier for size_t print
This commit is contained in:
parent
9c8553f297
commit
0bd785cf3a
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user