summaryrefslogtreecommitdiffstats
path: root/sys/kern/imgact_aout.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1995-12-15 02:57:40 +0000
committerpeter <peter@FreeBSD.org>1995-12-15 02:57:40 +0000
commitaa26c3750494d91e254cf0acf32198ae0cfd9d7f (patch)
treee1fe7e1114b3da6b4c4fb14bcb8c061bb9d51aa2 /sys/kern/imgact_aout.c
parent853673e9b8bbb502b5f1029a5dfc30c946a06445 (diff)
downloadFreeBSD-src-aa26c3750494d91e254cf0acf32198ae0cfd9d7f.zip
FreeBSD-src-aa26c3750494d91e254cf0acf32198ae0cfd9d7f.tar.gz
Oops. I forgot the change to this file for supporting static configuration
of the linux emulator.
Diffstat (limited to 'sys/kern/imgact_aout.c')
-rw-r--r--sys/kern/imgact_aout.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/imgact_aout.c b/sys/kern/imgact_aout.c
index 0b86976..3c7a007 100644
--- a/sys/kern/imgact_aout.c
+++ b/sys/kern/imgact_aout.c
@@ -28,7 +28,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: imgact_aout.c,v 1.19 1995/12/07 12:46:33 davidg Exp $
+ * $Id: imgact_aout.c,v 1.20 1995/12/11 04:56:00 dyson Exp $
*/
#include <sys/param.h>
@@ -62,7 +62,7 @@ exec_aout_imgact(imgp)
unsigned long bss_size;
int error;
-#ifdef COMPAT_LINUX
+#if defined(COMPAT_LINUX) || defined(LINUX)
/*
* Linux and *BSD binaries look very much alike,
* only the machine id is different:
@@ -71,7 +71,7 @@ exec_aout_imgact(imgp)
if (((a_out->a_magic >> 16) & 0xff) != 0x86 &&
((a_out->a_magic >> 16) & 0xff) != 0)
return -1;
-#endif /* COMPAT_LINUX */
+#endif /* COMPAT_LINUX || defined(LINUX) */
/*
* Set file/virtual offset based on a.out variant.
OpenPOWER on IntegriCloud