summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDavid Greenman <dg@FreeBSD.org>1994-08-13 14:00:26 +0000
committerDavid Greenman <dg@FreeBSD.org>1994-08-13 14:00:26 +0000
commitc501fb74cffe9d4bd4298fc7a9b0c734c02c4682 (patch)
tree435d11587633e2032aaf4109342ec7bb72751d8f /lib
parent2c6983854a31f7649720ae0ea73aa6cf083779f3 (diff)
Notes
Diffstat (limited to 'lib')
-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 27fec0aecbb9..7c21f5eb7842 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 27fec0aecbb9..7c21f5eb7842 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