pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/lsof/files lsof: fix comparison operator, rid...
details: https://anonhg.NetBSD.org/pkgsrc/rev/3ab1ab3317d7
branches: trunk
changeset: 379915:3ab1ab3317d7
user: tnn <tnn%pkgsrc.org@localhost>
date: Wed May 25 09:37:54 2022 +0000
description:
lsof: fix comparison operator, ride previous bump
diffstat:
sysutils/lsof/files/rnmt.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r b4b94871277c -r 3ab1ab3317d7 sysutils/lsof/files/rnmt.c
--- a/sysutils/lsof/files/rnmt.c Wed May 25 09:34:02 2022 +0000
+++ b/sysutils/lsof/files/rnmt.c Wed May 25 09:37:54 2022 +0000
@@ -149,7 +149,7 @@
right = (KA_T)nc.nc_tree.rb_nodes[1];
if (sanity_check_vnode_impl(&vi) == 0 && sanity_check_namecache(&nc) == 0) {
lnc = ncache_enter_local(vp, pvp, plnc, &nc);
- if (vi.vi_vnode.v_type = VDIR && vi.vi_nc_tree.rbt_root != NULL) {
+ if (vi.vi_vnode.v_type == VDIR && vi.vi_nc_tree.rbt_root != NULL) {
ncache_walk((KA_T)vi.vi_nc_tree.rbt_root, ncp, lnc);
}
}
Home |
Main Index |
Thread Index |
Old Index