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 */
        }
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to