diff options
-rw-r--r-- | usr.sbin/procmap/procmap.c | 4 |
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) { |