summaryrefslogtreecommitdiff
path: root/sys/arch/hppa64/stand/boot/conf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/hppa64/stand/boot/conf.c')
-rw-r--r--sys/arch/hppa64/stand/boot/conf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/hppa64/stand/boot/conf.c b/sys/arch/hppa64/stand/boot/conf.c
index 29f196a4ff7..70cd951329f 100644
--- a/sys/arch/hppa64/stand/boot/conf.c
+++ b/sys/arch/hppa64/stand/boot/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.3 2010/12/06 18:44:49 jasper Exp $ */
+/* $OpenBSD: conf.c,v 1.4 2010/12/06 22:11:01 jasper Exp $ */
/*
* Copyright (c) 2005 Michael Shalayeff
@@ -34,14 +34,14 @@ struct fs_ops file_system[] = {
{ lif_open, lif_close, lif_read, lif_write, lif_seek,
lif_stat, lif_readdir },
};
-int nfsys = nitems(file_system);
+int nfsys = NENTS(file_system);
struct devsw devsw[] = {
{ "dk", iodcstrategy, dkopen, dkclose, noioctl },
{ "ct", iodcstrategy, ctopen, ctclose, noioctl },
{ "lf", iodcstrategy, lfopen, lfclose, noioctl }
};
-int ndevs = nitems(devsw);
+int ndevs = NENTS(devsw);
struct consdev constab[] = {
{ ite_probe, ite_init, ite_getc, ite_putc },