projects
/
ircu2.10.12-pk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Author: Michael Poole <mdpoole@troilus.org>
[ircu2.10.12-pk.git]
/
ircd
/
s_bsd.c
diff --git
a/ircd/s_bsd.c
b/ircd/s_bsd.c
index ab7d2616b05218c63c08498cf009e7af84d9154b..63e9081c51da376193f3a01b9884c8e76b2da4be 100644
(file)
--- a/
ircd/s_bsd.c
+++ b/
ircd/s_bsd.c
@@
-182,7
+182,7
@@
int init_connection_limits(void)
if (0 == limit)
return 1;
if (limit < 0) {
if (0 == limit)
return 1;
if (limit < 0) {
- fprintf(stderr, "error setting max fd
's to %d\n", limit
);
+ fprintf(stderr, "error setting max fd
s to %d: %s\n", limit, strerror(errno)
);
}
else if (limit > 0) {
fprintf(stderr, "ircd fd table too big\nHard Limit: %d IRC max: %d\n",
}
else if (limit > 0) {
fprintf(stderr, "ircd fd table too big\nHard Limit: %d IRC max: %d\n",