summaryrefslogtreecommitdiff
path: root/sys/kern/subr_trap.c
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2004-10-05 18:51:11 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2004-10-05 18:51:11 +0000
commit78c85e8dfc1c4a90a3ecb51acf35c33fe1faf331 (patch)
tree61af271e7225bd0154aaa08a967c5ce027c7bc2a /sys/kern/subr_trap.c
parenta55db2b6e63b4d36024857d89a7ab59747f17d97 (diff)
Notes
Diffstat (limited to 'sys/kern/subr_trap.c')
-rw-r--r--sys/kern/subr_trap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_trap.c b/sys/kern/subr_trap.c
index 7753823eb008..86026a41b23a 100644
--- a/sys/kern/subr_trap.c
+++ b/sys/kern/subr_trap.c
@@ -221,7 +221,7 @@ ast(struct trapframe *framep)
PROC_LOCK(p);
lim_rlimit(p, RLIMIT_CPU, &rlim);
mtx_lock_spin(&sched_lock);
- if (p->p_runtime.sec >= rlim.rlim_max) {
+ if (p->p_rux.rux_runtime.sec >= rlim.rlim_max) {
mtx_unlock_spin(&sched_lock);
killproc(p, "exceeded maximum CPU limit");
} else {