mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-01-29 15:43:56 +00:00
Fix last warning about integer size format
This commit is contained in:
parent
6645feb0d8
commit
3d9d54c793
2
conf.c
2
conf.c
@ -84,7 +84,7 @@ static int reload(const char *path, int *resultp)
|
||||
if (meta.mtime == -1) {
|
||||
WARNF("config file %s does not exist -- using all defaults", path);
|
||||
} else if (meta.size > CONFIG_FILE_MAX_SIZE) {
|
||||
WHYF("config file %s is too big (%zu bytes exceeds limit %d)", path, meta.size, CONFIG_FILE_MAX_SIZE);
|
||||
WHYF("config file %s is too big (%ju bytes exceeds limit %d)", path, (uintmax_t)meta.size, CONFIG_FILE_MAX_SIZE);
|
||||
return -1;
|
||||
} else if (meta.size <= 0) {
|
||||
WARNF("config file %s is zero size -- using all defaults", path);
|
||||
|
Loading…
x
Reference in New Issue
Block a user