about summary refs log tree commit diff stats
path: root/xxxterm.c
diff options
context:
space:
mode:
authorMarco Peereboom <marco@conformal.com>2012-02-06 17:25:36 -0600
committerMarco Peereboom <marco@conformal.com>2012-02-06 17:25:36 -0600
commit835b976e0c99766e2af5b2ca91b051f11df7872e (patch)
tree639badcd5fb742378356eeefdc3838067dd2efee /xxxterm.c
parentc4e9479569c36a958bf0b219fc27ec930da3890d (diff)
downloadxombrero-835b976e0c99766e2af5b2ca91b051f11df7872e.tar.gz
up file descriptors warning
Diffstat (limited to 'xxxterm.c')
-rw-r--r--xxxterm.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/xxxterm.c b/xxxterm.c
index 3c47fa4..dd4d1fc 100644
--- a/xxxterm.c
+++ b/xxxterm.c
@@ -7371,9 +7371,10 @@ main(int argc, char **argv)
 			warn("setrlimit");
 		if (getrlimit(RLIMIT_NOFILE, &rlp) == -1)
 			warn("getrlimit");
-		else if (rlp.rlim_cur <= 256)
-			startpage_add("%s requires at least 256 file "
-			    "descriptors, currently it has up to %d available",
+		else if (rlp.rlim_cur <= 1024)
+			startpage_add("%s requires at least 1024 "
+			    "(2048 recommended) file " "descriptors, "
+			    "currently it has up to %d available",
 			   __progname, rlp.rlim_cur);
 	}
 #endif