commit ceac46c9c7afba029eba9f678ba535d6b16ea3fb from: Christian Weisgerber via: Thomas Adam date: Sun Jul 17 19:08:31 2022 UTC fix potential type mismatch between format specifier and argument Cast argument of type rlim_t to unsigned long long to match the %llu format specifier on platforms where this might not be the case. commit - f1b55c5c7ba141a313bdef015e1b820cdb60483e commit + ceac46c9c7afba029eba9f678ba535d6b16ea3fb blob - 84fdc92c35b07e32c8a20a6428aa69c315f79f4c blob + 494266302771918d3735d165c8cf705f14b63094 --- gotwebd/sockets.c +++ gotwebd/sockets.c @@ -726,7 +726,8 @@ sockets_rlimit(int maxfd) if (getrlimit(RLIMIT_NOFILE, &rl) == -1) fatal("%s: failed to get resource limit", __func__); - log_debug("%s: max open files %llu", __func__, rl.rlim_max); + log_debug("%s: max open files %llu", __func__, + (unsigned long long)rl.rlim_max); /* * Allow the maximum number of open file descriptors for this