commit - 86fbc0d4baa2c117d3bf5c65262d1857de548062
commit + d6267a62d388995cbc79bb58ce9db7946fda0554
blob - f07a3be3b97818f5ddfc016d4f5b93952636de34
blob + b8e00918c13b3d92a2fe2fb2769ca40d82a8bec6
--- gotwebd/sockets.c
+++ gotwebd/sockets.c
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
rl.rlim_cur = MAXIMUM(rl.rlim_max, (rlim_t)maxfd);
if (setrlimit(RLIMIT_NOFILE, &rl) == -1)
fatal("%s: failed to set resource limit", __func__);
-}
\ No newline at end of file
+}