Commit Diff


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