Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hpcmips/hpcmips fix memcpy argument in SPEC_PLATFOR...
details: https://anonhg.NetBSD.org/src/rev/9636584335e8
branches: trunk
changeset: 508963:9636584335e8
user: sato <sato%NetBSD.org@localhost>
date: Mon Apr 23 11:31:15 2001 +0000
description:
fix memcpy argument in SPEC_PLATFORM&BOOT_STANDALONE case.
diffstat:
sys/arch/hpcmips/hpcmips/machdep.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 5b6075c9871d -r 9636584335e8 sys/arch/hpcmips/hpcmips/machdep.c
--- a/sys/arch/hpcmips/hpcmips/machdep.c Mon Apr 23 11:22:55 2001 +0000
+++ b/sys/arch/hpcmips/hpcmips/machdep.c Mon Apr 23 11:31:15 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.49 2001/04/23 10:13:02 sato Exp $ */
+/* $NetBSD: machdep.c,v 1.50 2001/04/23 11:31:15 sato Exp $ */
/*-
* Copyright (c) 1999 Shin Takemura, All rights reserved.
@@ -72,7 +72,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.49 2001/04/23 10:13:02 sato Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.50 2001/04/23 11:31:15 sato Exp $");
/* from: Utah Hdr: machdep.c 1.63 91/04/24 */
#include "opt_vr41xx.h"
@@ -294,7 +294,7 @@
#error specify SPEC_PLATFORM=platid_mask_MACH_xxx_yyy in BOOT_STANDALONE case.
#error see platid_mask.c for platid_mask_MACH_xxx_yyy.
#else
- memcpy(platid, &SPEC_PLATFORM, sizeof(platid));
+ memcpy(&platid, &SPEC_PLATFORM, sizeof(platid));
#endif
#endif /* defined(BOOT_STANDALONE) && defined(SPEC_PLATFORM) */
/*
Home |
Main Index |
Thread Index |
Old Index