summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/amd64/sys/cerror.S3
-rw-r--r--lib/libc/i386/sys/cerror.S3
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc/amd64/sys/cerror.S b/lib/libc/amd64/sys/cerror.S
index 27fec0a..7c21f5e 100644
--- a/lib/libc/amd64/sys/cerror.S
+++ b/lib/libc/amd64/sys/cerror.S
@@ -33,7 +33,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: cerror.S,v 1.2 1994/02/21 05:19:09 rgrimes Exp $
+ * $Id: cerror.S,v 1.1 1994/08/05 01:18:40 wollman Exp $
*/
#if defined(SYSLIBC_SCCS) && !defined(lint)
@@ -53,4 +53,5 @@ cerror:
movl %eax,_errno
#endif
movl $-1,%eax
+ movl $-1,%edx
ret
diff --git a/lib/libc/i386/sys/cerror.S b/lib/libc/i386/sys/cerror.S
index 27fec0a..7c21f5e 100644
--- a/lib/libc/i386/sys/cerror.S
+++ b/lib/libc/i386/sys/cerror.S
@@ -33,7 +33,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: cerror.S,v 1.2 1994/02/21 05:19:09 rgrimes Exp $
+ * $Id: cerror.S,v 1.1 1994/08/05 01:18:40 wollman Exp $
*/
#if defined(SYSLIBC_SCCS) && !defined(lint)
@@ -53,4 +53,5 @@ cerror:
movl %eax,_errno
#endif
movl $-1,%eax
+ movl $-1,%edx
ret
OpenPOWER on IntegriCloud