summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1999-08-12 20:37:17 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1999-08-12 20:37:17 +0000
commitc2b3cd088f737b14ba8c43bf9cc8bae1b08c59aa (patch)
treeb78bfab8633c98e7edbedb1acd321bd023b63ac6 /sys
parentb559382a914c09669a514d88dd6d3dc3f2f23b3e (diff)
Probe svr4 before linux
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/exec_elf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/exec_elf.c b/sys/kern/exec_elf.c
index 9820081534d..70ee101b4a0 100644
--- a/sys/kern/exec_elf.c
+++ b/sys/kern/exec_elf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: exec_elf.c,v 1.26 1999/07/20 12:14:34 deraadt Exp $ */
+/* $OpenBSD: exec_elf.c,v 1.27 1999/08/12 20:37:16 niklas Exp $ */
/*
* Copyright (c) 1996 Per Fogelstrom
@@ -79,14 +79,14 @@ struct elf_probe_entry {
#ifdef COMPAT_FREEBSD
{ freebsd_elf_probe, 1 << OOS_FREEBSD },
#endif
-#ifdef COMPAT_LINUX
- { linux_elf_probe, 1 << OOS_LINUX },
-#endif
#ifdef COMPAT_SVR4
{ svr4_elf_probe,
1 << OOS_SVR4 | 1 << OOS_ESIX | 1 << OOS_SOLARIS | 1 << OOS_SCO |
1 << OOS_DELL | 1 << OOS_NCR },
#endif
+#ifdef COMPAT_LINUX
+ { linux_elf_probe, 1 << OOS_LINUX },
+#endif
{ 0, 1 << OOS_OPENBSD }
};