1
0
mirror of https://github.com/shirou/gopsutil.git synced 2025-05-01 13:48:52 +08:00

v3/process: unbreak on OpenBSD

Fix camel case: GetpageSizeWithContext -> GetPageSizeWithContext
This commit is contained in:
Antoine Jacoutot 2020-11-29 11:53:05 +01:00
parent 340db113de
commit 0178a24563

View File

@ -241,7 +241,7 @@ func (p *Process) MemoryInfoWithContext(ctx context.Context) (*MemoryInfoStat, e
if err != nil {
return nil, err
}
pageSize, err := mem.GetpageSizeWithContext(ctx)
pageSize, err := mem.GetPageSizeWithContext(ctx)
if err != nil {
return nil, err
}