summaryrefslogtreecommitdiff
path: root/sys/arch/zaurus/stand/zboot/devopen.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/zaurus/stand/zboot/devopen.c')
-rw-r--r--sys/arch/zaurus/stand/zboot/devopen.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/zaurus/stand/zboot/devopen.c b/sys/arch/zaurus/stand/zboot/devopen.c
index 24b22d4828f..20a4828229e 100644
--- a/sys/arch/zaurus/stand/zboot/devopen.c
+++ b/sys/arch/zaurus/stand/zboot/devopen.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: devopen.c,v 1.7 2010/12/06 18:44:49 jasper Exp $ */
+/* $OpenBSD: devopen.c,v 1.8 2010/12/06 22:11:01 jasper Exp $ */
/*
* Copyright (c) 1996-1999 Michael Shalayeff
@@ -38,13 +38,13 @@ const char bdevs[][4] = {
"", "", "", "", "", "", "", "scd", "", "hd", ""
};
-const int nbdevs = nitems(bdevs);
+const int nbdevs = NENTS(bdevs);
const char cdevs[][4] = {
"cn", "", "", "", "", "", "", "",
"", "", "", "", "com"
};
-const int ncdevs = nitems(cdevs);
+const int ncdevs = NENTS(cdevs);
/* pass dev_t to the open routines */
int