From e3aa5ac43ce9f72edb15783fe7e5dbac0625ddc0 Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Sat, 25 Oct 1997 22:04:05 +0000 Subject: hmm, copy&paste is evil --- sys/arch/i386/i386/machdep.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/arch') 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; -- cgit v1.2.3