Source-Changes-HG archive

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

[src/trunk]: src/sys/ufs/lfs correct typo (reference uninitialized variable)



details:   https://anonhg.NetBSD.org/src/rev/b05180d838da
branches:  trunk
changeset: 480569:b05180d838da
user:      perseant <perseant%NetBSD.org@localhost>
date:      Sun Jan 16 04:57:08 2000 +0000

description:
correct typo (reference uninitialized variable)

diffstat:

 sys/ufs/lfs/lfs_syscalls.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 5b8f5cb71d8b -r b05180d838da sys/ufs/lfs/lfs_syscalls.c
--- a/sys/ufs/lfs/lfs_syscalls.c        Sun Jan 16 03:34:27 2000 +0000
+++ b/sys/ufs/lfs/lfs_syscalls.c        Sun Jan 16 04:57:08 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lfs_syscalls.c,v 1.38 2000/01/14 21:41:11 perseant Exp $       */
+/*     $NetBSD: lfs_syscalls.c,v 1.39 2000/01/16 04:57:08 perseant Exp $       */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -920,7 +920,7 @@
                        lfs_vref(*vpp);
                        if (VOP_ISLOCKED(*vpp)) {
                                printf("lfs_fastvget: ino %d inlocked by pid %d\n",ip->i_number,
-                                      vp->v_lock.lk_lockholder);
+                                      (*vpp)->v_lock.lk_lockholder);
                                clean_inlocked++;
 #ifdef LFS_EAGAIN_FAIL
                                lfs_vunref(*vpp);



Home | Main Index | Thread Index | Old Index