summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2005-07-31 15:38:13 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2005-07-31 15:38:13 +0000
commitef6455236e175be85c41943ca29449495e65a430 (patch)
tree743ba2ebb0a77cac9059a9b5046e40c07162aee0 /sys/arch
parent0b7d5ddc147e1e37473d44327d44c7f056de1cc9 (diff)
Wrong copyout() size in writeback().
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/mvme68k/mvme68k/trap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mvme68k/mvme68k/trap.c b/sys/arch/mvme68k/mvme68k/trap.c
index 574ba489d3b..c804974adad 100644
--- a/sys/arch/mvme68k/mvme68k/trap.c
+++ b/sys/arch/mvme68k/mvme68k/trap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trap.c,v 1.58 2005/05/01 09:55:49 miod Exp $ */
+/* $OpenBSD: trap.c,v 1.59 2005/07/31 15:38:12 miod Exp $ */
/*
* Copyright (c) 1995 Theo de Raadt
@@ -789,7 +789,7 @@ writeback(fp, docachepush)
short tmp = wb1d;
err = copyout(&tmp,
- (caddr_t)f->f_wb1a, sizeof(long));
+ (caddr_t)f->f_wb1a, sizeof(short));
}
break;
}