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 4780419ee60..813884fec57 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.8 2010/12/06 18:44:49 jasper Exp $ */
+/* $OpenBSD: cdboot.c,v 1.9 2010/12/06 22:11:01 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 = nitems(file_system);
+int nfsys = NENTS(file_system);
struct devsw devsw[] = {
{ "dk", iodcstrategy, dkopen, dkclose, noioctl },
};
-int ndevs = nitems(devsw);
+int ndevs = NENTS(devsw);
struct consdev constab[] = {
{ ite_probe, ite_init, ite_getc, ite_putc },