From 38b78c3eaceddd912df81a02ce280e6366241f35 Mon Sep 17 00:00:00 2001 From: lanixzcj Date: Fri, 20 Dec 2019 08:39:36 +0800 Subject: [PATCH] rename InActive(file) to Inactive(file) in mem_linux.go --- mem/mem_linux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mem/mem_linux.go b/mem/mem_linux.go index 92cf143..41355ba 100644 --- a/mem/mem_linux.go +++ b/mem/mem_linux.go @@ -67,7 +67,7 @@ func VirtualMemoryWithContext(ctx context.Context) (*VirtualMemoryStat, error) { case "Active(file)": activeFile = true retEx.ActiveFile = t * 1024 - case "InActive(file)": + case "Inactive(file)": inactiveFile = true retEx.InactiveFile = t * 1024 case "Writeback":