From 48085fb6b5ccc556e5d65c11bc45a437a88c6a44 Mon Sep 17 00:00:00 2001 From: maja Date: Sun, 12 Mar 2000 19:25:13 +0000 Subject: [PATCH] Get mainbus working with gcc 2.95.x. -moj --- sys/arch/pmax/pmax/mainbus.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/arch/pmax/pmax/mainbus.c b/sys/arch/pmax/pmax/mainbus.c index 6f24dc95147..164f440364d 100644 --- a/sys/arch/pmax/pmax/mainbus.c +++ b/sys/arch/pmax/pmax/mainbus.c @@ -1,3 +1,4 @@ +/* $OpenBSD: mainbus.c,v 1.9 2000/03/12 19:25:13 maja Exp $ */ /* $NetBSD: mainbus.c,v 1.18 1996/10/13 03:39:51 christos Exp $ */ /* @@ -123,8 +124,8 @@ mbattach(parent, self, aux) * * For now, we only have one. Attach it directly. */ - /*nca.ca_name = "cpu";*/ - bcopy("cpu", nca.ca_name, sizeof(nca.ca_name)); + + nca.ca_name = "cpu"; nca.ca_slot = 0; nca.ca_offset = 0; nca.ca_addr = 0; -- 2.20.1