Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions lib/dialects/netbsd/dnode.c
Original file line number Diff line number Diff line change
Expand Up @@ -764,6 +764,11 @@ void process_node(struct lsof_context *ctx, /* context */

#if defined(HASKERNFS)
case KERNFSNODE:
#endif /* defined(HASKERNFS) */
#if defined(HASPROCFS)
case PFSNODE:
#endif /* defined(HASPROCFS) */
#if defined(HASKERNFS) || defined(HASPROCFS)
if (vfs) {

# if defined(HASSTATVFS)
Expand All @@ -775,7 +780,7 @@ void process_node(struct lsof_context *ctx, /* context */
devs = 1;
}
break;
#endif /* defined(HASKERNFS) */
#endif /* defined(HASKERNFS) || defined(HASPROCFS) */

#if defined(HAS9660FS)
case CDFSNODE:
Expand Down Expand Up @@ -1227,7 +1232,7 @@ void process_node(struct lsof_context *ctx, /* context */

#if defined(HASPROCFS)
else if (nty == PFSNODE) {
Lf->dev_def = Lf->rdev_def = 0;
Lf->rdev_def = 0;
(void)snpf(Namech, Namechl, "/%s", HASPROCFS);
switch (p.pfs_type) {
case Proot:
Expand Down Expand Up @@ -1357,7 +1362,7 @@ void process_node(struct lsof_context *ctx, /* context */
*/

#if defined(HASPROCFS)
if (Ntype == N_PROC) {
if (Ntype == N_PROC && (Procsrch || Procfsid)) {
if (Procsrch) {
Procfind = 1;
Lf->sf |= SELNM;
Expand Down
2 changes: 1 addition & 1 deletion lib/dialects/sun/dnode.c
Original file line number Diff line number Diff line change
Expand Up @@ -3719,7 +3719,7 @@ void process_node(struct lsof_context *ctx, /* context */
*/

#if defined(HASPROCFS)
if (Ntype == N_PROC) {
if (Ntype == N_PROC && (Procsrch || Procfsid)) {
if (Procsrch) {
Procfind = 1;
Lf->sf |= SELNM;
Expand Down
2 changes: 1 addition & 1 deletion lib/dialects/uw/dnode.c
Original file line number Diff line number Diff line change
Expand Up @@ -1321,7 +1321,7 @@ void process_node(struct lsof_context *ctx, /* context */
*/

#if defined(HASPROCFS)
if (Ntype == N_PROC) {
if (Ntype == N_PROC && (Procsrch || Procfsid)) {
if (Procsrch) {
Procfind = 1;
Lf->sf |= SELNM;
Expand Down
Loading