diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/adosfs/advnops.c | 4 | ||||
-rw-r--r-- | sys/arch/amiga/amiga/conf.c | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/sys/adosfs/advnops.c b/sys/adosfs/advnops.c index cd6e5c6c2d0..1daac26acc6 100644 --- a/sys/adosfs/advnops.c +++ b/sys/adosfs/advnops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: advnops.c,v 1.11 1997/11/10 23:57:06 niklas Exp $ */ +/* $OpenBSD: advnops.c,v 1.12 1998/07/20 00:49:21 espie Exp $ */ /* $NetBSD: advnops.c,v 1.32 1996/10/13 02:52:09 christos Exp $ */ /* @@ -700,10 +700,12 @@ int adosfs_print(v) void *v; { +#ifdef DIAGNOSTIC struct vop_print_args /* { struct vnode *a_vp; } */ *ap = v; struct anode *anp = VTOA(ap->a_vp); +#endif /* XXX Fill in more info here. */ printf("tag VT_ADOSFS\n"); 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))); |