Ouch, fixed bug in errno translation (ibcs2 support).

This commit is contained in:
Søren Schmidt 1994-10-11 22:37:14 +00:00
parent bc576ac45e
commit fabbd9b7ce
3 changed files with 3 additions and 6 deletions

View File

@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)trap.c 7.4 (Berkeley) 5/13/91
* $Id: trap.c,v 1.37 1994/10/09 22:02:06 sos Exp $
* $Id: trap.c,v 1.38 1994/10/10 07:33:01 sos Exp $
*/
/*
@ -691,7 +691,6 @@ syscall(frame)
error = -1; /* XXX */
else
error = p->p_sysent->sv_errtbl[error];
else
frame.tf_eax = error;
frame.tf_eflags |= PSL_C; /* carry bit */
break;

View File

@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)trap.c 7.4 (Berkeley) 5/13/91
* $Id: trap.c,v 1.37 1994/10/09 22:02:06 sos Exp $
* $Id: trap.c,v 1.38 1994/10/10 07:33:01 sos Exp $
*/
/*
@ -691,7 +691,6 @@ syscall(frame)
error = -1; /* XXX */
else
error = p->p_sysent->sv_errtbl[error];
else
frame.tf_eax = error;
frame.tf_eflags |= PSL_C; /* carry bit */
break;

View File

@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)trap.c 7.4 (Berkeley) 5/13/91
* $Id: trap.c,v 1.37 1994/10/09 22:02:06 sos Exp $
* $Id: trap.c,v 1.38 1994/10/10 07:33:01 sos Exp $
*/
/*
@ -691,7 +691,6 @@ syscall(frame)
error = -1; /* XXX */
else
error = p->p_sysent->sv_errtbl[error];
else
frame.tf_eax = error;
frame.tf_eflags |= PSL_C; /* carry bit */
break;