summaryrefslogtreecommitdiff
path: root/sys/arch/armish/stand/boot/dev_armish.c
diff options
context:
space:
mode:
authorJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2010-12-06 18:44:50 +0000
committerJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2010-12-06 18:44:50 +0000
commitc35b9bdae7316474e01b5a2ba9dcf3631b975901 (patch)
treee2584f7866a69b7d5115c88c8916474d2dc7c70b /sys/arch/armish/stand/boot/dev_armish.c
parentadc400522ede0d3382b10f47167d1652125bd6e6 (diff)
- drop NENTS(), which was yet another copy of nitems().
no binary change ok deraadt@
Diffstat (limited to 'sys/arch/armish/stand/boot/dev_armish.c')
-rw-r--r--sys/arch/armish/stand/boot/dev_armish.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/armish/stand/boot/dev_armish.c b/sys/arch/armish/stand/boot/dev_armish.c
index 40e0293f07a..860b9ad2d62 100644
--- a/sys/arch/armish/stand/boot/dev_armish.c
+++ b/sys/arch/armish/stand/boot/dev_armish.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dev_armish.c,v 1.1 2006/07/29 15:01:49 kettenis Exp $ */
+/* $OpenBSD: dev_armish.c,v 1.2 2010/12/06 18:44:49 jasper Exp $ */
/*
* Copyright (c) 2006 Mark Kettenis
@@ -25,7 +25,7 @@ const char cdevs[][4] = {
"cn", "", "", "", "", "", "", "",
"", "", "", "", "com"
};
-const int ncdevs = NENTS(cdevs);
+const int ncdevs = nitems(cdevs);
void
devboot(dev_t dev, char *p)