From d7601eb1b1ae3182eeb3ee5fb80d233ac4006a5c Mon Sep 17 00:00:00 2001 From: leo Date: Sat, 14 Aug 1999 20:48:33 +0000 Subject: [PATCH] Correct the argument order for memcpy(). This tremendously improves the behaviour of wscons.... (Why did history create both bcopy & memcpy?) --- sys/arch/atari/include/bus.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arch/atari/include/bus.h b/sys/arch/atari/include/bus.h index f8f3f657b69f..a5af73db4622 100644 --- a/sys/arch/atari/include/bus.h +++ b/sys/arch/atari/include/bus.h @@ -1,4 +1,4 @@ -/* $NetBSD: bus.h,v 1.16 1999/03/23 21:29:04 drochner Exp $ */ +/* $NetBSD: bus.h,v 1.17 1999/08/14 20:48:33 leo Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -312,7 +312,7 @@ struct atari_bus_space { (*(t)->__abs_opname(c,sz))(t, h1, o1, h2, o2, cnt) #else #define __abs_copy(sz, t, h1, o1, h2, o2, cnt) \ - memcpy((void*)(h1 + o1), (void *)(h2 + o2), sz * cnt) + memcpy((void*)(h2 + o2), (void *)(h1 + o1), sz * cnt) #endif