summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_fork.c
diff options
context:
space:
mode:
authorotto <otto@openbsd.org>2021-02-11 13:40:28 +0000
committerotto <otto@openbsd.org>2021-02-11 13:40:28 +0000
commit7af3a068bd974c6237a45ac348e674660981232b (patch)
treea61ecc4046dfbe6d033e21eca3157fa2ed3d3380 /sys/kern/kern_fork.c
parentIn the various open functions reduce the fdplock() to only span over the (diff)
downloadwireguard-openbsd-7af3a068bd974c6237a45ac348e674660981232b.tar.xz
wireguard-openbsd-7af3a068bd974c6237a45ac348e674660981232b.zip
"proc: table is full" actually means thread table is full; ok mpi@ sthen@
Diffstat (limited to 'sys/kern/kern_fork.c')
-rw-r--r--sys/kern/kern_fork.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_fork.c b/sys/kern/kern_fork.c
index f8b8cc67da5..ee11b705d8f 100644
--- a/sys/kern/kern_fork.c
+++ b/sys/kern/kern_fork.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_fork.c,v 1.232 2021/02/08 10:51:01 mpi Exp $ */
+/* $OpenBSD: kern_fork.c,v 1.233 2021/02/11 13:40:28 otto Exp $ */
/* $NetBSD: kern_fork.c,v 1.29 1996/02/09 18:59:34 christos Exp $ */
/*
@@ -299,7 +299,7 @@ fork_check_maxthread(uid_t uid)
static struct timeval lasttfm;
if (ratecheck(&lasttfm, &fork_tfmrate))
- tablefull("proc");
+ tablefull("thread");
return EAGAIN;
}
nthreads++;