diff options
Diffstat (limited to 'sys/arch/i386/stand/libsa/debug.c')
-rw-r--r-- | sys/arch/i386/stand/libsa/debug.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/stand/libsa/debug.c b/sys/arch/i386/stand/libsa/debug.c index ae196e01008..569fef851b5 100644 --- a/sys/arch/i386/stand/libsa/debug.c +++ b/sys/arch/i386/stand/libsa/debug.c @@ -1,4 +1,4 @@ -/* $OpenBSD: debug.c,v 1.14 2010/12/06 18:44:49 jasper Exp $ */ +/* $OpenBSD: debug.c,v 1.15 2010/12/06 22:11:01 jasper Exp $ */ /* * Copyright (c) 1997 Michael Shalayeff @@ -34,7 +34,7 @@ #define VBASE (0xb8000) char *const reg_names[] = { REG_NAMES }; -const int nreg = nitems(reg_names); +const int nreg = NENTS(reg_names); struct reg reg; u_int32_t *const reg_values[] = { REG_VALUES(reg) }; char *const trap_names[] = { TRAP_NAMES }; |