summaryrefslogtreecommitdiff
path: root/sys/arch/hppa/stand/cdboot/cdboot.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/hppa/stand/cdboot/cdboot.c')
-rw-r--r--sys/arch/hppa/stand/cdboot/cdboot.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/hppa/stand/cdboot/cdboot.c b/sys/arch/hppa/stand/cdboot/cdboot.c
index 47715f6c8ef..4780419ee60 100644
--- a/sys/arch/hppa/stand/cdboot/cdboot.c
+++ b/sys/arch/hppa/stand/cdboot/cdboot.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cdboot.c,v 1.7 2004/06/14 00:32:31 deraadt Exp $ */
+/* $OpenBSD: cdboot.c,v 1.8 2010/12/06 18:44:49 jasper Exp $ */
/*
* Copyright (c) 2003 Michael Shalayeff
@@ -46,12 +46,12 @@ struct fs_ops file_system[] = {
{ cd9660_open, cd9660_close, cd9660_read, cd9660_write, cd9660_seek,
cd9660_stat, cd9660_readdir },
};
-int nfsys = NENTS(file_system);
+int nfsys = nitems(file_system);
struct devsw devsw[] = {
{ "dk", iodcstrategy, dkopen, dkclose, noioctl },
};
-int ndevs = NENTS(devsw);
+int ndevs = nitems(devsw);
struct consdev constab[] = {
{ ite_probe, ite_init, ite_getc, ite_putc },