Upgrade dependencies

This commit is contained in:
Ingo Oppermann
2024-05-28 14:32:25 +02:00
parent 3ee4876290
commit 32ccfc24ee
260 changed files with 15224 additions and 6147 deletions

View File

@@ -137,7 +137,7 @@ func (p Proc) CmdLine() ([]string, error) {
return []string{}, nil
}
return strings.Split(string(bytes.TrimRight(data, string("\x00"))), string(byte(0))), nil
return strings.Split(string(bytes.TrimRight(data, "\x00")), "\x00"), nil
}
// Wchan returns the wchan (wait channel) of a process.