svn commit: r305811 - head/sys/amd64/amd64

Bjoern A. Zeeb bz at FreeBSD.org
Wed Sep 14 16:08:25 UTC 2016


Author: bz
Date: Wed Sep 14 16:08:23 2016
New Revision: 305811
URL: https://svnweb.freebsd.org/changeset/base/305811

Log:
  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.

Modified:
  head/sys/amd64/amd64/trap.c

Modified: head/sys/amd64/amd64/trap.c
==============================================================================
--- head/sys/amd64/amd64/trap.c	Wed Sep 14 14:48:00 2016	(r305810)
+++ head/sys/amd64/amd64/trap.c	Wed Sep 14 16:08:23 2016	(r305811)
@@ -934,7 +934,7 @@ amd64_syscall(struct thread *td, int tra
 	ksiginfo_t ksi;
 
 #ifdef DIAGNOSTIC
-	if (!TRAPF_USERMODE(frame)) {
+	if (!TRAPF_USERMODE(td->td_frame)) {
 		panic("syscall");
 		/* NOT REACHED */
 	}


More information about the svn-src-head mailing list