summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-10-25 22:04:05 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-10-25 22:04:05 +0000
commite3aa5ac43ce9f72edb15783fe7e5dbac0625ddc0 (patch)
tree815039d936d4198cb19448a134a1fa8c87a2beec
parentc38684c1d48044e950b278da4306d241699a0a87 (diff)
hmm, copy&paste is evil
-rw-r--r--sys/arch/i386/i386/machdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/i386/machdep.c b/sys/arch/i386/i386/machdep.c
index b231462cfa3..10f9b02b38d 100644
--- a/sys/arch/i386/i386/machdep.c
+++ b/sys/arch/i386/i386/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.61 1997/10/25 21:47:26 mickey Exp $ */
+/* $OpenBSD: machdep.c,v 1.62 1997/10/25 22:04:04 mickey Exp $ */
/* $NetBSD: machdep.c,v 1.202 1996/05/18 15:54:59 christos Exp $ */
/*-
@@ -1494,7 +1494,7 @@ cpu_sysctl(name, namelen, oldp, oldlenp, newp, newlen, p)
case CPU_CHR2BLK:
if (namelen != 2)
return (ENOTDIR); /* overloaded */
- dev = blktochr((dev_t)name[1]);
+ dev = chrtoblk((dev_t)name[1]);
return sysctl_rdstruct(oldp, oldlenp, newp, &dev, sizeof(dev));
default:
return EOPNOTSUPP;