summaryrefslogtreecommitdiff
path: root/src/common/compat.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-12-10 08:27:01 +0000
committerRoger Dingledine <arma@torproject.org>2005-12-10 08:27:01 +0000
commit9b0a40ec7866005928e49b4717d626e64057c331 (patch)
tree0fe396d96f05202b3aa6af2cfc493e2c732c2d25 /src/common/compat.c
parent0a0f5952e8c6bc8ce514ecba084ea6412f91c625 (diff)
downloadtor-9b0a40ec7866005928e49b4717d626e64057c331.tar.gz
tor-9b0a40ec7866005928e49b4717d626e64057c331.zip
crank the max line limit down to 150 chars.
svn:r5550
Diffstat (limited to 'src/common/compat.c')
-rw-r--r--src/common/compat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/compat.c b/src/common/compat.c
index 703011f6cf..64b975e47c 100644
--- a/src/common/compat.c
+++ b/src/common/compat.c
@@ -463,7 +463,8 @@ set_max_file_descriptors(unsigned long limit, unsigned long cap)
return -1;
}
if (rlim.rlim_max < limit) {
- warn(LD_CONFIG,"We need %lu file descriptors available, and we're limited to %lu. Please change your ulimit -n.", limit, (unsigned long)rlim.rlim_max);
+ warn(LD_CONFIG,"We need %lu file descriptors available, and we're limited to %lu. Please change your ulimit -n.",
+ limit, (unsigned long)rlim.rlim_max);
return -1;
}
most = (rlim.rlim_max > cap) ? cap : (unsigned) rlim.rlim_max;