Skip to content

Commit 16acc1d

Browse files
author
James Cor
committed
fix
1 parent e043c31 commit 16acc1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/sockstate/netstat_linux.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ func (p *procFd) iterFdDir() {
100100
}
101101
z := bytes.SplitN(buf[:n], []byte(" "), 3)
102102
name := getProcName(z[1])
103-
p.p = &process{p.pid, name}
103+
p.p = &process{name: name, pid: p.pid}
104104
}
105105
sk.Process = p.p
106106
}

0 commit comments

Comments
 (0)