PERFORCE change 97636 for review

John Birrell jb at FreeBSD.org
Mon May 22 20:20:29 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=97636

Change 97636 by jb at jb_freebsd2 on 2006/05/22 20:19:36

	Fix a typo. I'm surprised that the compiler didn't warn that the
	code was unreachable.

Affected files ...

.. //depot/projects/dtrace/src/sys/i386/i386/trap.c#5 edit

Differences ...

==== //depot/projects/dtrace/src/sys/i386/i386/trap.c#5 (text+ko) ====

@@ -277,8 +277,8 @@
 				 * to the instruction following the
 				 * one casing the fault.
 				 */
+				frame.tf_eip += (*dtrace_instr_size_func)((u_char *) frame.tf_eip);
 				goto out;
-				frame.tf_eip += (*dtrace_instr_size_func)((u_char *) frame.tf_eip);
 			/* Page fault. */
 			case T_PAGEFLT:
 				/* Flag a bad address. */


More information about the p4-projects mailing list