Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 May 2006 20:19:37 GMT
From:      John Birrell <jb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 97636 for review
Message-ID:  <200605222019.k4MKJbUE004934@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=97636

Change 97636 by jb@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. */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605222019.k4MKJbUE004934>