commit 755192136c21798d3ac73d0b92b8c4eeb1e93a45 Author: Oliver Pinter Date: Fri Mar 1 16:04:07 2013 +0100 added td_name to kern.maxfiles limits warning Signed-off-by: Oliver Pinter diff --git a/sys/kern/kern_descrip.c b/sys/kern/kern_descrip.c index eb6278d..b787812 100644 --- a/sys/kern/kern_descrip.c +++ b/sys/kern/kern_descrip.c @@ -1667,8 +1667,9 @@ falloc_noinstall(struct thread *td, struct file **resultfp) priv_check(td, PRIV_MAXFILES) != 0) || openfiles >= maxfiles) { if (ppsratecheck(&lastfail, &curfail, 1)) { - printf("kern.maxfiles limit exceeded by uid %i, " - "please see tuning(7).\n", td->td_ucred->cr_ruid); + printf("kern.maxfiles limit exceeded by uid %i " + "td_name %s, please see tuning(7).\n", + td->td_ucred->cr_ruid, td->td_name); } return (ENFILE); }