summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorkato <kato@FreeBSD.org>1997-03-26 07:03:30 +0000
committerkato <kato@FreeBSD.org>1997-03-26 07:03:30 +0000
commit4d71d30483ca5fad870f016a18580e8ddf8f2bc7 (patch)
tree0f7791e6c446b668fcf268c5e2d1db6b213fb769 /sys
parent2b1a05cbfa986d4ecbd4347d1ca01f3c0cc7c609 (diff)
downloadFreeBSD-src-4d71d30483ca5fad870f016a18580e8ddf8f2bc7.zip
FreeBSD-src-4d71d30483ca5fad870f016a18580e8ddf8f2bc7.tar.gz
Synchronize with sys/i386/i386/machdep.c revision 1.232.
Diffstat (limited to 'sys')
-rw-r--r--sys/pc98/i386/machdep.c4
-rw-r--r--sys/pc98/pc98/machdep.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/pc98/i386/machdep.c b/sys/pc98/i386/machdep.c
index 370f4fd..02ee80d 100644
--- a/sys/pc98/i386/machdep.c
+++ b/sys/pc98/i386/machdep.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
- * $Id: machdep.c,v 1.30 1997/03/22 18:54:33 kato Exp $
+ * $Id: machdep.c,v 1.31 1997/03/24 12:29:14 bde Exp $
*/
#include "npx.h"
@@ -579,7 +579,7 @@ sigreturn(p, uap, retval)
((caddr_t)scp - offsetof(struct sigframe, sf_sc));
if (useracc((caddr_t)fp, sizeof (*fp), B_WRITE) == 0)
- return(EINVAL);
+ return(EFAULT);
/*
* Don't allow users to change privileged or reserved flags.
diff --git a/sys/pc98/pc98/machdep.c b/sys/pc98/pc98/machdep.c
index 370f4fd..02ee80d 100644
--- a/sys/pc98/pc98/machdep.c
+++ b/sys/pc98/pc98/machdep.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
- * $Id: machdep.c,v 1.30 1997/03/22 18:54:33 kato Exp $
+ * $Id: machdep.c,v 1.31 1997/03/24 12:29:14 bde Exp $
*/
#include "npx.h"
@@ -579,7 +579,7 @@ sigreturn(p, uap, retval)
((caddr_t)scp - offsetof(struct sigframe, sf_sc));
if (useracc((caddr_t)fp, sizeof (*fp), B_WRITE) == 0)
- return(EINVAL);
+ return(EFAULT);
/*
* Don't allow users to change privileged or reserved flags.
OpenPOWER on IntegriCloud