Check RLIMIT_MEMLOCK, not RLIMIT_LOCK.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15048 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2005-05-02 13:52:28 +00:00
parent 0a0c34c467
commit 5c186736dd

View File

@@ -53,7 +53,7 @@ struct limit {
LIM(CPU, 60),
LIM(DATA, 1024),
LIM(FSIZE, 1024),
#ifdef RLIMIT_LOCK
#ifdef RLIMIT_MEMLOCK
LIM(MEMLOCK, 1024),
#endif
LIM(NOFILE, 1),