Skip to content

Commit

Permalink
auth: Use PRIuUOFF_t to print process VSZ limit
Browse files Browse the repository at this point in the history
This doesn't change the behavior, but it makes it more obviously correct.
  • Loading branch information
Josef 'Jeff' Sipek committed May 11, 2018
1 parent 070f904 commit 015ea53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/auth/passdb-cache.c
Expand Up @@ -188,9 +188,9 @@ void passdb_cache_init(const struct auth_settings *set)
if (restrict_get_process_size(&limit) == 0 &&
set->cache_size > (uoff_t)limit) {
i_warning("auth_cache_size (%"PRIuUOFF_T"M) is higher than "
"process VSZ limit (%luM)",
"process VSZ limit (%"PRIuUOFF_T"M)",
set->cache_size/1024/1024,
(unsigned long)(limit/1024/1024));
(uoff_t)(limit/1024/1024));
}
passdb_cache = auth_cache_new(set->cache_size, set->cache_ttl,
set->cache_negative_ttl);
Expand Down

0 comments on commit 015ea53

Please sign in to comment.