diff options
Diffstat (limited to 'sys/arch/hppa/stand/libsa/cmd_hppa.c')
-rw-r--r-- | sys/arch/hppa/stand/libsa/cmd_hppa.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/hppa/stand/libsa/cmd_hppa.c b/sys/arch/hppa/stand/libsa/cmd_hppa.c index ff7c4e19454..cc8f7255d8a 100644 --- a/sys/arch/hppa/stand/libsa/cmd_hppa.c +++ b/sys/arch/hppa/stand/libsa/cmd_hppa.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd_hppa.c,v 1.9 2009/08/30 19:30:50 miod Exp $ */ +/* $OpenBSD: cmd_hppa.c,v 1.10 2010/12/06 18:44:49 jasper Exp $ */ /* * Copyright (c) 2002, 2009 Miodrag Vallat @@ -331,13 +331,13 @@ set_serial(console, port, arg) speed = 0; if (arg == NULL || *arg == '\0') { - for (i = 0; i < NENTS(i_speeds); i++) + for (i = 0; i < nitems(i_speeds); i++) if (i_speeds[i] == 9600) { speed = i; break; } } else { - for (i = 0; i < NENTS(c_speeds); i++) + for (i = 0; i < nitems(c_speeds); i++) if (strcmp(arg, c_speeds[i]) == 0) { speed = i; break; |