From 4faaf9d38a2e0b2131254628fb63ecd7c7e81ba8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E8=87=B4=E9=82=A6=20=28XIE=20Zhibang=29?= Date: Tue, 19 Apr 2022 00:29:45 +0000 Subject: [PATCH] Format code with gofumpt. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 谢致邦 (XIE Zhibang) --- mountinfo/mountinfo_bsd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mountinfo/mountinfo_bsd.go b/mountinfo/mountinfo_bsd.go index a8d9083c..d1ea82ac 100644 --- a/mountinfo/mountinfo_bsd.go +++ b/mountinfo/mountinfo_bsd.go @@ -32,7 +32,7 @@ func parseMountTable(filter FilterFunc) ([]*Info, error) { return nil, err } - var entries = make([]syscall.Statfs_t, count) + entries := make([]syscall.Statfs_t, count) _, err = syscall.Getfsstat(entries, 1 /* MNT_WAIT */) if err != nil { return nil, err