summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaakko Heinonen <jh@FreeBSD.org>2013-04-19 15:19:29 +0000
committerJaakko Heinonen <jh@FreeBSD.org>2013-04-19 15:19:29 +0000
commita208417c41d8cfc41c273e30caaf725291975ed1 (patch)
treebefae6fd97efce8b325107a4c14ff33a249e0a40
parent14658a80fe7720d75a7d420f6f612ee7ed97eed7 (diff)
Notes
-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 b5a4934e2447..741665f4af6b 100644
--- a/sys/kern/kern_fork.c
+++ b/sys/kern/kern_fork.c
@@ -930,8 +930,8 @@ fork1(struct thread *td, int flags, int pages, struct proc **procp,
fail:
sx_sunlock(&proctree_lock);
if (ppsratecheck(&lastfail, &curfail, 1))
- printf("maxproc limit exceeded by uid %i, please see tuning(7) and login.conf(5).\n",
- td->td_ucred->cr_ruid);
+ printf("maxproc limit exceeded by uid %u (pid %d); see tuning(7) and login.conf(5)\n",
+ td->td_ucred->cr_ruid, p1->p_pid);
sx_xunlock(&allproc_lock);
#ifdef MAC
mac_proc_destroy(newproc);