summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrahnds <rahnds@openbsd.org>2000-01-15 17:17:45 +0000
committerrahnds <rahnds@openbsd.org>2000-01-15 17:17:45 +0000
commit62f4c8afb1410de949d0908da1c476ee03d4ed3c (patch)
treef883fc6fce873ce1fdc4370ce31919dbac79bcea
parentThere is no need to waste short for holding EOF in the pushback buffer. (diff)
downloadwireguard-openbsd-62f4c8afb1410de949d0908da1c476ee03d4ed3c.tar.xz
wireguard-openbsd-62f4c8afb1410de949d0908da1c476ee03d4ed3c.zip
use model instead of name, more constistant with determining machine type.
-rw-r--r--sys/dev/ofw/ofbus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ofw/ofbus.c b/sys/dev/ofw/ofbus.c
index 41e3fec1c84..bc25fee7439 100644
--- a/sys/dev/ofw/ofbus.c
+++ b/sys/dev/ofw/ofbus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ofbus.c,v 1.6 1999/10/28 04:25:25 rahnds Exp $ */
+/* $OpenBSD: ofbus.c,v 1.7 2000/01/15 17:17:45 rahnds Exp $ */
/* $NetBSD: ofbus.c,v 1.3 1996/10/13 01:38:11 christos Exp $ */
/*
@@ -120,7 +120,7 @@ ofrattach(parent, dev, aux)
ofbprint(ofp, 0);
printf("\n");
- if ((l = OF_getprop(ofp->phandle, "name", ofname, sizeof ofname - 1)) < 0)
+ if ((l = OF_getprop(ofp->phandle, "model", ofname, sizeof ofname - 1)) < 0)
{
/* no system name? */
} else {