summaryrefslogtreecommitdiff
path: root/sys/arch/hppa64/stand/libsa/cmd_hppa64.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/hppa64/stand/libsa/cmd_hppa64.c')
-rw-r--r--sys/arch/hppa64/stand/libsa/cmd_hppa64.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/hppa64/stand/libsa/cmd_hppa64.c b/sys/arch/hppa64/stand/libsa/cmd_hppa64.c
index d782f5945ff..7a476478de7 100644
--- a/sys/arch/hppa64/stand/libsa/cmd_hppa64.c
+++ b/sys/arch/hppa64/stand/libsa/cmd_hppa64.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd_hppa64.c,v 1.2 2010/12/06 18:44:49 jasper Exp $ */
+/* $OpenBSD: cmd_hppa64.c,v 1.3 2010/12/06 22:11:01 jasper Exp $ */
/*
* Copyright (c) 2002 Miodrag Vallat
@@ -337,13 +337,13 @@ set_serial(console, port, arg)
speed = 0;
if (arg == NULL || *arg == '\0') {
- for (i = 0; i < nitems(i_speeds); i++)
+ for (i = 0; i < NENTS(i_speeds); i++)
if (i_speeds[i] == 9600) {
speed = i;
break;
}
} else {
- for (i = 0; i < nitems(c_speeds); i++)
+ for (i = 0; i < NENTS(c_speeds); i++)
if (strcmp(arg, c_speeds[i]) == 0) {
speed = i;
break;