From: maja Date: Sun, 12 Mar 2000 19:25:13 +0000 (+0000) Subject: Get mainbus working with gcc 2.95.x. -moj X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=48085fb6b5ccc556e5d65c11bc45a437a88c6a44;p=openbsd Get mainbus working with gcc 2.95.x. -moj --- 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;