mirror of
https://github.com/Yubico/yubico-pam.git
synced 2025-01-31 16:52:19 +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) {
|
if (cfg->user_attr && cfg->yubi_attr && cfg->ldapdn) {
|
||||||
i = (strlen(cfg->user_attr) + strlen(cfg->ldapdn) + strlen(user) + 3) * sizeof(char);
|
i = (strlen(cfg->user_attr) + strlen(cfg->ldapdn) + strlen(user) + 3) * sizeof(char);
|
||||||
if ((find = malloc(i)) == NULL) {
|
if ((find = malloc(i)) == NULL) {
|
||||||
DBG (("Failed allocating %i bytes", i));
|
DBG (("Failed allocating %zu bytes", i));
|
||||||
retval = 0;
|
retval = 0;
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user