Source-Changes-HG archive

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

[src/trunk]: src/sys/kern make DEBUG kernels buildable again (typo)



details:   https://anonhg.NetBSD.org/src/rev/8e4efca866ab
branches:  trunk
changeset: 782549:8e4efca866ab
user:      para <para%NetBSD.org@localhost>
date:      Mon Nov 05 21:35:28 2012 +0000

description:
make DEBUG kernels buildable again (typo)

diffstat:

 sys/kern/vfs_lookup.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r d8dab524e807 -r 8e4efca866ab sys/kern/vfs_lookup.c
--- a/sys/kern/vfs_lookup.c     Mon Nov 05 20:01:38 2012 +0000
+++ b/sys/kern/vfs_lookup.c     Mon Nov 05 21:35:28 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vfs_lookup.c,v 1.198 2012/11/05 19:06:26 dholland Exp $        */
+/*     $NetBSD: vfs_lookup.c,v 1.199 2012/11/05 21:35:28 para Exp $    */
 
 /*
  * Copyright (c) 1982, 1986, 1989, 1993
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vfs_lookup.c,v 1.198 2012/11/05 19:06:26 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vfs_lookup.c,v 1.199 2012/11/05 21:35:28 para Exp $");
 
 #include "opt_magiclinks.h"
 
@@ -1696,7 +1696,7 @@
        if ((uint32_t)newhash != (uint32_t)cnp->cn_hash)
                panic("relookup: bad hash");
 #endif
-       newlen = nami_getcomponent(cnp->cn_nameptr);
+       newlen = namei_getcomponent(cnp->cn_nameptr);
        if (cnp->cn_namelen != newlen)
                panic("relookup: bad len");
        cp = cnp->cn_nameptr + cnp->cn_namelen;



Home | Main Index | Thread Index | Old Index