diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1998-03-06 22:14:02 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1998-03-06 22:14:02 +0000 |
commit | 799496ad4d549d5c11ba25a8cea28c67d3af98a5 (patch) | |
tree | 507db431ba3fcf894d4dc99c676e68b95b59277f /sys/compat | |
parent | d4c73676a3576342bfd950d6fb05c12e0f9dbe28 (diff) |
Just alter the tag if it is not already set
Diffstat (limited to 'sys/compat')
-rw-r--r-- | sys/compat/linux/linux_exec.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/compat/linux/linux_exec.c b/sys/compat/linux/linux_exec.c index fcf005fd380..5d91784f571 100644 --- a/sys/compat/linux/linux_exec.c +++ b/sys/compat/linux/linux_exec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: linux_exec.c,v 1.6 1998/02/22 01:07:56 niklas Exp $ */ +/* $OpenBSD: linux_exec.c,v 1.7 1998/03/06 22:14:01 niklas Exp $ */ /* $NetBSD: linux_exec.c,v 1.13 1996/04/05 00:01:10 christos Exp $ */ /* @@ -387,7 +387,8 @@ linux_elf_probe(p, epp, itp, pos, os) } epp->ep_emul = &emul_linux_elf; *pos = ELF32_NO_ADDR; - *os = OOS_LINUX; + if (*os == OOS_NULL) + *os = OOS_LINUX; return (0); } |