summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>1998-07-20 00:49:24 +0000
committerMarc Espie <espie@cvs.openbsd.org>1998-07-20 00:49:24 +0000
commit9b5f42d3cb353ee09c955ec2466e59612d16f066 (patch)
treea24941a9ec956a8613cc0dbd5ce14f05e697d2b1 /sys/arch
parente0565f281b168884d6ccb98412264fc32dbb2c2d (diff)
typo & warnings make gcc unhappy.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/amiga/amiga/conf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/amiga/amiga/conf.c b/sys/arch/amiga/amiga/conf.c
index 495ed3a2c7b..6c9cc58eaaa 100644
--- a/sys/arch/amiga/amiga/conf.c
+++ b/sys/arch/amiga/amiga/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.22 1998/07/07 06:55:56 deraadt Exp $ */
+/* $OpenBSD: conf.c,v 1.23 1998/07/20 00:49:23 espie Exp $ */
/* $NetBSD: conf.c,v 1.42 1997/01/07 11:35:03 mrg Exp $ */
/*-
@@ -264,9 +264,9 @@ chrtoblk(dev)
int blkmaj;
if (major(dev) >= nchrdev ||
- major(dev) > sizeof(chrtoblktbl)/sizeof(chrtoblktbl[0]))
+ major(dev) > sizeof(chrtoblktab)/sizeof(chrtoblktab[0]))
return (NODEV);
- blkmaj = chrtoblktbl[major(dev)];
+ blkmaj = chrtoblktab[major(dev)];
if (blkmaj == NODEV)
return (NODEV);
return (makedev(blkmaj, minor(dev)));