Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/mips/mips fix a bug in the previous change: don't h...



details:   https://anonhg.NetBSD.org/src/rev/dc733a9cbe72
branches:  trunk
changeset: 365518:dc733a9cbe72
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Aug 19 10:33:49 2018 +0000

description:
fix a bug in the previous change: don't hide the break; behind DEBUG_EXEC.
should fix PR#53538.  tested on erlite.

diffstat:

 sys/arch/mips/mips/cpu_exec.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 89b95bb2592d -r dc733a9cbe72 sys/arch/mips/mips/cpu_exec.c
--- a/sys/arch/mips/mips/cpu_exec.c     Sun Aug 19 09:21:29 2018 +0000
+++ b/sys/arch/mips/mips/cpu_exec.c     Sun Aug 19 10:33:49 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpu_exec.c,v 1.66 2018/08/08 07:50:12 simonb Exp $     */
+/*     $NetBSD: cpu_exec.c,v 1.67 2018/08/19 10:33:49 mrg Exp $        */
 
 /*
  * Copyright (c) 1992, 1993
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpu_exec.c,v 1.66 2018/08/08 07:50:12 simonb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpu_exec.c,v 1.67 2018/08/19 10:33:49 mrg Exp $");
 
 #include "opt_compat_netbsd.h"
 #include "opt_compat_ultrix.h"
@@ -157,8 +157,8 @@
 #ifdef DEBUG_EXEC
                if (old_abi != p->p_md.md_abi)
                        printf("pid %d(%s): ABI set to O32 (e_flags=%#x)\n", p->p_pid, p->p_comm, eh->e_flags);
+#endif /* DEBUG_EXEC */
                break;
-#endif /* DEBUG_EXEC */
        default:
                return ENOEXEC;
        }



Home | Main Index | Thread Index | Old Index