summaryrefslogtreecommitdiff
path: root/usr.sbin/procmap/procmap.c
diff options
context:
space:
mode:
authorThierry Deval <tdeval@cvs.openbsd.org>2004-04-01 23:17:12 +0000
committerThierry Deval <tdeval@cvs.openbsd.org>2004-04-01 23:17:12 +0000
commit250e36b4b591050c7285b3eae1d16f7176a5aa83 (patch)
treea020c87d2bcb556b7134f46c0edc84bb0bbec058 /usr.sbin/procmap/procmap.c
parentf43bea8517c4ba4479453545c85327b306e37596 (diff)
Off by 1 ! OK millert@, tedu@
Diffstat (limited to 'usr.sbin/procmap/procmap.c')
-rw-r--r--usr.sbin/procmap/procmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/procmap/procmap.c b/usr.sbin/procmap/procmap.c
index b4cfde3aa2c..8b91d443a26 100644
--- a/usr.sbin/procmap/procmap.c
+++ b/usr.sbin/procmap/procmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: procmap.c,v 1.15 2004/03/15 09:13:10 tedu Exp $ */
+/* $OpenBSD: procmap.c,v 1.16 2004/04/01 23:17:11 tdeval Exp $ */
/* $NetBSD: pmap.c,v 1.1 2002/09/01 20:32:44 atatat Exp $ */
/*
@@ -908,7 +908,7 @@ load_name_cache(kvm_t *kd)
ncpp = &_ncpp;
- for (i = 0; i <= nchash; i++) {
+ for (i = 0; i < nchash; i++) {
ncpp = &nchashtbl[i];
oncp = NULL;
LIST_FOREACH(ncp, ncpp, nc_hash) {