summaryrefslogtreecommitdiff
path: root/sys/arch/hppa64/stand/cdboot/cdboot.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/hppa64/stand/cdboot/cdboot.c')
-rw-r--r--sys/arch/hppa64/stand/cdboot/cdboot.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/hppa64/stand/cdboot/cdboot.c b/sys/arch/hppa64/stand/cdboot/cdboot.c
index 82fcb5abae9..5eb7d8a6998 100644
--- a/sys/arch/hppa64/stand/cdboot/cdboot.c
+++ b/sys/arch/hppa64/stand/cdboot/cdboot.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cdboot.c,v 1.2 2010/12/06 18:44:49 jasper Exp $ */
+/* $OpenBSD: cdboot.c,v 1.3 2010/12/06 22:11:01 jasper Exp $ */
/*
* Copyright (c) 2005 Michael Shalayeff
@@ -37,12 +37,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 },