Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sbmips/sbmips s/bcopy/memcpy/



details:   https://anonhg.NetBSD.org/src/rev/2a0a3f2d22d6
branches:  trunk
changeset: 539248:2a0a3f2d22d6
user:      simonb <simonb%NetBSD.org@localhost>
date:      Tue Nov 12 00:49:08 2002 +0000

description:
s/bcopy/memcpy/

diffstat:

 sys/arch/sbmips/sbmips/machdep.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 533d9504ef3b -r 2a0a3f2d22d6 sys/arch/sbmips/sbmips/machdep.c
--- a/sys/arch/sbmips/sbmips/machdep.c  Tue Nov 12 00:47:10 2002 +0000
+++ b/sys/arch/sbmips/sbmips/machdep.c  Tue Nov 12 00:49:08 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.14 2002/11/12 00:47:10 simonb Exp $ */
+/* $NetBSD: machdep.c,v 1.15 2002/11/12 00:49:08 simonb Exp $ */
 
 /*
  * Copyright 2000, 2001
@@ -179,7 +179,7 @@
         */
 
        if (magic == BOOTINFO_MAGIC)
-               bcopy((struct bootinfo_v1 *)bootdata, &bootinfo,
+               memcpy(&bootinfo, (struct bootinfo_v1 *)bootdata,
                    sizeof bootinfo);
        else if (reserved == CFE_EPTSEAL) {
                magic = BOOTINFO_MAGIC;



Home | Main Index | Thread Index | Old Index