From fce7ff68f30d4e4bb416bc01c57a929281f11c50 Mon Sep 17 00:00:00 2001 From: "Bjoern A. Zeeb" Date: Wed, 14 Sep 2016 16:08:23 +0000 Subject: [PATCH] Try to fix LINT builds after r305807. Seems to be a simple s&r error I missed while reading through the 1st time as well. --- sys/amd64/amd64/trap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/amd64/amd64/trap.c b/sys/amd64/amd64/trap.c index 7f162421c750..3ffb8702a84f 100644 --- a/sys/amd64/amd64/trap.c +++ b/sys/amd64/amd64/trap.c @@ -934,7 +934,7 @@ amd64_syscall(struct thread *td, int traced) ksiginfo_t ksi; #ifdef DIAGNOSTIC - if (!TRAPF_USERMODE(frame)) { + if (!TRAPF_USERMODE(td->td_frame)) { panic("syscall"); /* NOT REACHED */ }