diff options
author | Marco Peereboom <marco@conformal.com> | 2012-04-07 08:10:29 -0500 |
---|---|---|
committer | Marco Peereboom <marco@conformal.com> | 2012-04-07 08:10:29 -0500 |
commit | ecfc8e535d85aebdc61ccf5440b0e273da6defa3 (patch) | |
tree | 4b78c08c302ceff40ce5fba1e7175eff53967e4a | |
parent | 7259121e75450fcf957df1e81fd19b2279442d9a (diff) | |
download | xombrero-ecfc8e535d85aebdc61ccf5440b0e273da6defa3.tar.gz |
make the 1024 limit 1024, not 1025, from mcbride
-rw-r--r-- | xxxterm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xxxterm.c b/xxxterm.c index eba1841..ad43a2a 100644 --- a/xxxterm.c +++ b/xxxterm.c @@ -7682,7 +7682,7 @@ main(int argc, char **argv) warn("setrlimit"); if (getrlimit(RLIMIT_NOFILE, &rlp) == -1) warn("getrlimit"); - else if (rlp.rlim_cur <= 1024) + else if (rlp.rlim_cur < 1024) startpage_add("%s requires at least 1024 " "(2048 recommended) file " "descriptors, " "currently it has up to %d available", |