Skip to content

Commit

Permalink
Format code with gofumpt.
Browse files Browse the repository at this point in the history
Signed-off-by: 谢致邦 (XIE Zhibang) <Yeking@Red54.com>
  • Loading branch information
Red54 committed Apr 19, 2022
1 parent 3bb68a4 commit 4faaf9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mountinfo/mountinfo_bsd.go
Expand Up @@ -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
Expand Down

0 comments on commit 4faaf9d

Please sign in to comment.