diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2005-07-31 15:38:13 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2005-07-31 15:38:13 +0000 |
commit | ef6455236e175be85c41943ca29449495e65a430 (patch) | |
tree | 743ba2ebb0a77cac9059a9b5046e40c07162aee0 | |
parent | 0b7d5ddc147e1e37473d44327d44c7f056de1cc9 (diff) |
Wrong copyout() size in writeback().
-rw-r--r-- | sys/arch/mvme68k/mvme68k/trap.c | 4 |
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; } |