diff options
author | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2010-12-06 22:11:02 +0000 |
---|---|---|
committer | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2010-12-06 22:11:02 +0000 |
commit | a71c133efb7026da05ac2f7f41a6926bc5824a63 (patch) | |
tree | caa8cefa19803b9912219905c5cc1f2499bb0544 /sys/arch/i386/stand/libsa/debug.c | |
parent | 2131988aa3472105a2067d04c42151159fe3515d (diff) |
- partially revert previous NENTS removal for arches which got busted.
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 }; |