summaryrefslogtreecommitdiff
path: root/sys/arch/i386/stand/pxeboot/devopen.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/i386/stand/pxeboot/devopen.c')
-rw-r--r--sys/arch/i386/stand/pxeboot/devopen.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/i386/stand/pxeboot/devopen.c b/sys/arch/i386/stand/pxeboot/devopen.c
index 836329474f1..9e4e51706a9 100644
--- a/sys/arch/i386/stand/pxeboot/devopen.c
+++ b/sys/arch/i386/stand/pxeboot/devopen.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: devopen.c,v 1.4 2007/07/27 17:46:57 tom Exp $ */
+/* $OpenBSD: devopen.c,v 1.5 2010/12/06 18:44:49 jasper Exp $ */
/*
* Copyright (c) 2004 Tom Cosgrove
@@ -45,13 +45,13 @@ const char bdevs[][4] = {
"wd", "", "fd", "", "sd", "st", "cd", "mcd",
"", "", "", "", "", "", "", "scd", "", "hd", ""
};
-const int nbdevs = NENTS(bdevs);
+const int nbdevs = nitems(bdevs);
const char cdevs[][4] = {
"cn", "", "", "", "", "", "", "",
"com", "", "", "", "pc"
};
-const int ncdevs = NENTS(cdevs);
+const int ncdevs = nitems(cdevs);
/* pass dev_t to the open routines */
int