From 9a0fda91f402a08ebe435aef8c595ba840a90468 Mon Sep 17 00:00:00 2001 From: briggs Date: Thu, 29 Nov 2001 18:53:50 +0000 Subject: [PATCH] SUNOS_M_NATIVE is now a macro that takes an arg, not a constant. --- sys/compat/sunos32/sunos32_exec_aout.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/compat/sunos32/sunos32_exec_aout.c b/sys/compat/sunos32/sunos32_exec_aout.c index 5b57d984187b..951ea2a2cb74 100644 --- a/sys/compat/sunos32/sunos32_exec_aout.c +++ b/sys/compat/sunos32/sunos32_exec_aout.c @@ -1,4 +1,4 @@ -/* $NetBSD: sunos32_exec_aout.c,v 1.3 2001/11/13 02:09:20 lukem Exp $ */ +/* $NetBSD: sunos32_exec_aout.c,v 1.4 2001/11/29 18:53:50 briggs Exp $ */ /* * Copyright (c) 2001 Matthew R. Green @@ -29,7 +29,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: sunos32_exec_aout.c,v 1.3 2001/11/13 02:09:20 lukem Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sunos32_exec_aout.c,v 1.4 2001/11/29 18:53:50 briggs Exp $"); #if defined(_KERNEL_OPT) #include "opt_execfmt.h" @@ -59,7 +59,7 @@ exec_sunos32_aout_makecmds(p, epp) struct sunos_exec *sunmag = epp->ep_hdr; int error = ENOEXEC; - if (sunmag->a_machtype != SUNOS_M_NATIVE) + if (!SUNOS_M_NATIVE(sunmag->a_machtype)) return (ENOEXEC); switch (sunmag->a_magic) {