summaryrefslogtreecommitdiff
path: root/sys/arch/i386/stand/boot/conf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/i386/stand/boot/conf.c')
-rw-r--r--sys/arch/i386/stand/boot/conf.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/arch/i386/stand/boot/conf.c b/sys/arch/i386/stand/boot/conf.c
index 97ecb428a85..072a6598ef9 100644
--- a/sys/arch/i386/stand/boot/conf.c
+++ b/sys/arch/i386/stand/boot/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.42 2010/12/06 18:44:49 jasper Exp $ */
+/* $OpenBSD: conf.c,v 1.43 2010/12/06 22:11:01 jasper Exp $ */
/*
* Copyright (c) 1996 Michael Shalayeff
@@ -58,10 +58,10 @@ void (*i386_probe2[])(void) = {
};
struct i386_boot_probes probe_list[] = {
- { "probing", i386_probe1, nitems(i386_probe1) },
- { "disk", i386_probe2, nitems(i386_probe2) }
+ { "probing", i386_probe1, NENTS(i386_probe1) },
+ { "disk", i386_probe2, NENTS(i386_probe2) }
};
-int nibprobes = nitems(probe_list);
+int nibprobes = NENTS(probe_list);
struct fs_ops file_system[] = {
@@ -80,7 +80,7 @@ struct fs_ops file_system[] = {
null_stat, null_readdir }
#endif
};
-int nfsys = nitems(file_system);
+int nfsys = NENTS(file_system);
struct devsw devsw[] = {
#ifdef _TEST
@@ -92,13 +92,13 @@ struct devsw devsw[] = {
{ "TFTP", tftpstrategy, tftpopen, tftpclose, tftpioctl },
#endif
};
-int ndevs = nitems(devsw);
+int ndevs = NENTS(devsw);
#ifdef notdef
struct netif_driver *netif_drivers[] = {
NULL
};
-int n_netif_drivers = nitems(netif_drivers);
+int n_netif_drivers = NENTS(netif_drivers);
#endif
struct consdev constab[] = {