Oops; fix the second usage.
This commit is contained in:
parent
9502007faf
commit
15aef6da21
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: osf1_syscall.c,v 1.6 2002/04/10 04:18:31 mycroft Exp $ */
|
||||
/* $NetBSD: osf1_syscall.c,v 1.7 2002/04/10 04:19:47 mycroft Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2000 The NetBSD Foundation, Inc.
|
||||
|
@ -101,7 +101,7 @@
|
|||
|
||||
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
|
||||
|
||||
__KERNEL_RCSID(0, "$NetBSD: osf1_syscall.c,v 1.6 2002/04/10 04:18:31 mycroft Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: osf1_syscall.c,v 1.7 2002/04/10 04:19:47 mycroft Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -326,7 +326,7 @@ osf1_syscall_fancy(struct proc *p, u_int64_t code, struct trapframe *framep)
|
|||
break;
|
||||
default:
|
||||
bad:
|
||||
error = osf1_errno_rxlist[error];
|
||||
error = native_to_osf1_errno[error];
|
||||
framep->tf_regs[FRAME_V0] = error;
|
||||
framep->tf_regs[FRAME_A3] = 1;
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue