From a6ee236f0a8d24d3db3a9d4530981d5416fb8c85 Mon Sep 17 00:00:00 2001 From: Artur Grabowski Date: Tue, 29 May 2001 08:52:12 +0000 Subject: Check for error on open. ENOENT happens to be the same as stderr. :) --- libexec/ld.so/alpha/ldasm.S | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libexec/ld.so/alpha/ldasm.S') 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) -- cgit v1.2.3