pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/lsof/files



Module Name:    pkgsrc
Committed By:   tnn
Date:           Wed May 25 09:37:54 UTC 2022

Modified Files:
        pkgsrc/sysutils/lsof/files: rnmt.c

Log Message:
lsof: fix comparison operator, ride previous bump


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/sysutils/lsof/files/rnmt.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/lsof/files/rnmt.c
diff -u pkgsrc/sysutils/lsof/files/rnmt.c:1.1 pkgsrc/sysutils/lsof/files/rnmt.c:1.2
--- pkgsrc/sysutils/lsof/files/rnmt.c:1.1       Wed May 25 09:33:37 2022
+++ pkgsrc/sysutils/lsof/files/rnmt.c   Wed May 25 09:37:54 2022
@@ -149,7 +149,7 @@ ncache_walk(KA_T ncp, KA_T pvp, const st
        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