diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1998-03-06 22:05:48 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1998-03-06 22:05:48 +0000 |
commit | d4c73676a3576342bfd950d6fb05c12e0f9dbe28 (patch) | |
tree | 2e46611ec98a0eb2c1670f942edbb7eff650a951 /sys/compat/svr4/svr4_exec.c | |
parent | e5fef6d7c220367476d01c9f214d04d0285338ad (diff) |
Just set the OS tag if it is not already set
Diffstat (limited to 'sys/compat/svr4/svr4_exec.c')
-rw-r--r-- | sys/compat/svr4/svr4_exec.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/compat/svr4/svr4_exec.c b/sys/compat/svr4/svr4_exec.c index 74accff8529..cccecd5c0e4 100644 --- a/sys/compat/svr4/svr4_exec.c +++ b/sys/compat/svr4/svr4_exec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: svr4_exec.c,v 1.6 1998/02/22 01:07:58 niklas Exp $ */ +/* $OpenBSD: svr4_exec.c,v 1.7 1998/03/06 22:05:47 niklas Exp $ */ /* $NetBSD: svr4_exec.c,v 1.16 1995/10/14 20:24:20 christos Exp $ */ /* @@ -131,6 +131,7 @@ svr4_elf_probe(p, epp, itp, pos, os) } epp->ep_emul = &emul_svr4; *pos = SVR4_INTERP_ADDR; - *os = OOS_SVR4; + if (*os == OOS_NULL) + *os = OOS_SVR4; return (0); } |