summaryrefslogtreecommitdiff
path: root/usr.sbin/config/hash.c
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2000-11-15 01:47:15 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2000-11-15 01:47:15 +0000
commit44109e55e5322b180879bc602fd12d59ab996a5f (patch)
tree41ddcf0fd65e7a0ef0e12ec5f24146bf61cafc6f /usr.sbin/config/hash.c
parent92642bbb1f65666ec4372bc7874e350e2304679f (diff)
Fix bug introduced with overriding of pseudo-devices.
Diffstat (limited to 'usr.sbin/config/hash.c')
-rw-r--r--usr.sbin/config/hash.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/config/hash.c b/usr.sbin/config/hash.c
index 735213d0dc8..a03ac789155 100644
--- a/usr.sbin/config/hash.c
+++ b/usr.sbin/config/hash.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hash.c,v 1.7 2000/01/04 14:23:43 angelos Exp $ */
+/* $OpenBSD: hash.c,v 1.8 2000/11/15 01:47:13 angelos Exp $ */
/* $NetBSD: hash.c,v 1.4 1996/11/07 22:59:43 gwr Exp $ */
/*
@@ -264,7 +264,7 @@ ht_remove(ht, nam)
hp = ht->ht_tab[h & ht->ht_mask];
while (hp && hp->h_name == nam) {
ht->ht_tab[h & ht->ht_mask] = hp->h_next;
- /* XXX Free hp ? */
+ /* XXX free hp ? */
hp = ht->ht_tab[h & ht->ht_mask];
}
@@ -272,9 +272,9 @@ ht_remove(ht, nam)
return (0);
for (thp = hp->h_next; thp != NULL; thp = hp->h_next) {
- if (thp->h_name == nam) {
+ if (thp->h_name == nam) {
hp->h_next = thp->h_next;
- /* XXX Free hp ? */
+ /* XXX free thp ? */
} else
hp = thp;
}