Skip to content

Commit 2aed77e

Browse files
authored
fix typo "RLIMIT_MLOCK" (ggml-org#5175)
1 parent c82d18e commit 2aed77e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llama.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1158,10 +1158,10 @@ struct llama_mlock {
11581158
#ifdef __APPLE__
11591159
#define MLOCK_SUGGESTION \
11601160
"Try increasing the sysctl values 'vm.user_wire_limit' and 'vm.global_user_wire_limit' and/or " \
1161-
"decreasing 'vm.global_no_user_wire_amount'. Also try increasing RLIMIT_MLOCK (ulimit -l).\n"
1161+
"decreasing 'vm.global_no_user_wire_amount'. Also try increasing RLIMIT_MEMLOCK (ulimit -l).\n"
11621162
#else
11631163
#define MLOCK_SUGGESTION \
1164-
"Try increasing RLIMIT_MLOCK ('ulimit -l' as root).\n"
1164+
"Try increasing RLIMIT_MEMLOCK ('ulimit -l' as root).\n"
11651165
#endif
11661166

11671167
bool raw_lock(const void * addr, size_t size) const {

0 commit comments

Comments
 (0)