diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-05-29 08:52:12 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-05-29 08:52:12 +0000 |
commit | a6ee236f0a8d24d3db3a9d4530981d5416fb8c85 (patch) | |
tree | 4292d836c739e8fd61a7d09c45f0114e4d345012 /libexec | |
parent | b9732444464f8240c8ee3f3f7511c0154355eac8 (diff) |
Check for error on open.
ENOENT happens to be the same as stderr. :)
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/ld.so/alpha/ldasm.S | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libexec/ld.so/alpha/ldasm.S b/libexec/ld.so/alpha/ldasm.S index 0e2cac14f85..32b3ebf1992 100644 --- a/libexec/ld.so/alpha/ldasm.S +++ b/libexec/ld.so/alpha/ldasm.S @@ -1,4 +1,4 @@ -/* $OpenBSD: ldasm.S,v 1.1 2001/05/14 22:18:20 niklas Exp $ */ +/* $OpenBSD: ldasm.S,v 1.2 2001/05/29 08:52:11 art Exp $ */ /* * Copyright (c) 2001 Niklas Hallqvist @@ -101,6 +101,9 @@ END(_dl_exit) LEAF_NOPROFILE(_dl_open, 2) ldiq v0, SYS_open call_pal PAL_OSF1_callsys + beq a3, _dl_open_no_error + subq zero, v0, v0 +_dl_open_no_error: RET END(_dl_open) |