diff options
author | 2000-03-12 19:25:13 +0000 | |
---|---|---|
committer | 2000-03-12 19:25:13 +0000 | |
commit | 48085fb6b5ccc556e5d65c11bc45a437a88c6a44 (patch) | |
tree | 07d0072c6f4fda72af0c1108839d69bdca1e17e3 | |
parent | Update clock code to work until 2001-12-31. -moj (diff) | |
download | wireguard-openbsd-48085fb6b5ccc556e5d65c11bc45a437a88c6a44.tar.xz wireguard-openbsd-48085fb6b5ccc556e5d65c11bc45a437a88c6a44.zip |
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; |