Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/config Fix typos in previous.



details:   https://anonhg.NetBSD.org/src/rev/4e5b4fe2817f
branches:  trunk
changeset: 332928:4e5b4fe2817f
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Sun Oct 12 05:25:21 2014 +0000

description:
Fix typos in previous.

diffstat:

 usr.bin/config/hash.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r c9f247a3a46c -r 4e5b4fe2817f usr.bin/config/hash.c
--- a/usr.bin/config/hash.c     Sun Oct 12 05:20:54 2014 +0000
+++ b/usr.bin/config/hash.c     Sun Oct 12 05:25:21 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: hash.c,v 1.9 2014/10/12 05:20:54 uebayasi Exp $        */
+/*     $NetBSD: hash.c,v 1.10 2014/10/12 05:25:21 uebayasi Exp $       */
 
 /*
  * Copyright (c) 1992, 1993
@@ -265,7 +265,7 @@
        struct hashenthead *hpp;
        u_int h;
 
-       h = hash2(0, nam1, NULL);
+       h = hash2(0, nam1, nam2);
        hpp = &ht->ht_tab[h & ht->ht_mask];
        TAILQ_FOREACH(hp, hpp, h_next) {
                if (hp->h_name1 == nam1 &&
@@ -327,7 +327,7 @@
        struct hashenthead *hpp;
        u_int h;
 
-       h = hash2(0, nam1, NULL);
+       h = hash2(0, nam1, nam2);
        hpp = &ht->ht_tab[h & ht->ht_mask];
        TAILQ_FOREACH(hp, hpp, h_next)
                if (hp->h_name == nam1)



Home | Main Index | Thread Index | Old Index