summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/i386/i386/linux_machdep.c4
-rw-r--r--sys/arch/i386/include/linux_machdep.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/i386/i386/linux_machdep.c b/sys/arch/i386/i386/linux_machdep.c
index 4b6e195cf98..5aa46717d08 100644
--- a/sys/arch/i386/i386/linux_machdep.c
+++ b/sys/arch/i386/i386/linux_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: linux_machdep.c,v 1.10 1997/02/01 21:53:20 deraadt Exp $ */
+/* $OpenBSD: linux_machdep.c,v 1.11 1998/02/08 08:32:34 deraadt Exp $ */
/* $NetBSD: linux_machdep.c,v 1.29 1996/05/03 19:42:11 christos Exp $ */
/*
@@ -416,7 +416,7 @@ linux_fakedev(dev)
dev_t dev;
{
- if (major(dev) == NETBSD_CONS_MAJOR)
+ if (major(dev) == NATIVE_CONS_MAJOR)
return makedev(LINUX_CONS_MAJOR, (minor(dev) + 1));
return dev;
}
diff --git a/sys/arch/i386/include/linux_machdep.h b/sys/arch/i386/include/linux_machdep.h
index 4d45532b9d0..ded1f8c4d86 100644
--- a/sys/arch/i386/include/linux_machdep.h
+++ b/sys/arch/i386/include/linux_machdep.h
@@ -86,7 +86,7 @@ dev_t linux_fakedev __P((dev_t));
* ugly patch to fake device numbers.
*/
#define LINUX_CONS_MAJOR 4
-#define NETBSD_CONS_MAJOR 12
+#define NATIVE_CONS_MAJOR 12
/*
* Linux ioctl calls for the keyboard.