Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/news68k/news68k pass the right argument



details:   https://anonhg.NetBSD.org/src/rev/1b2090815c52
branches:  trunk
changeset: 826578:1b2090815c52
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Sep 15 03:11:15 2017 +0000

description:
pass the right argument

diffstat:

 sys/arch/news68k/news68k/machdep.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (33 lines):

diff -r d18017ca7482 -r 1b2090815c52 sys/arch/news68k/news68k/machdep.c
--- a/sys/arch/news68k/news68k/machdep.c        Fri Sep 15 03:10:07 2017 +0000
+++ b/sys/arch/news68k/news68k/machdep.c        Fri Sep 15 03:11:15 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.102 2017/09/15 03:10:07 christos Exp $   */
+/*     $NetBSD: machdep.c,v 1.103 2017/09/15 03:11:15 christos Exp $   */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -39,7 +39,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.102 2017/09/15 03:10:07 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.103 2017/09/15 03:11:15 christos Exp $");
 
 #include "opt_ddb.h"
 #include "opt_compat_netbsd.h"
@@ -693,12 +693,12 @@
        switch (midmag) {
 #ifdef COMPAT_NOMID
        case (MID_ZERO << 16) | ZMAGIC:
-               error = exec_aout_prep_oldzmagic(l->l_proc, epp);
+               error = exec_aout_prep_oldzmagic(l, epp);
                return(error);
 #endif
 #ifdef COMPAT_44
        case (MID_HP300 << 16) | ZMAGIC:
-               error = exec_aout_prep_oldzmagic(l->l_proc, epp);
+               error = exec_aout_prep_oldzmagic(l, epp);
                return error;
 #endif
        }



Home | Main Index | Thread Index | Old Index