diff options
author | Mats O Jansson <maja@cvs.openbsd.org> | 2000-03-12 19:25:14 +0000 |
---|---|---|
committer | Mats O Jansson <maja@cvs.openbsd.org> | 2000-03-12 19:25:14 +0000 |
commit | 145008bea1cc423578e85fd47fe7203964bfa40c (patch) | |
tree | 566b6205637384d896c20f010ea70ea8e3f5a02d | |
parent | 8e2095feb952d33a1f63f865486277eacc30a664 (diff) |
Get mainbus working with gcc 2.95.x. -moj
-rw-r--r-- | sys/arch/pmax/pmax/mainbus.c | 5 |
1 files 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; |