diff --git a/os.go b/os.go index d26b9f1f..46ee6940 100644 --- a/os.go +++ b/os.go @@ -10,7 +10,6 @@ import ( "os/user" "path/filepath" "runtime" - "strconv" "strings" "syscall" @@ -210,7 +209,7 @@ func groupName(f os.FileInfo) string { func linkCount(f os.FileInfo) string { if stat, ok := f.Sys().(*syscall.Stat_t); ok { - return strconv.FormatUint(stat.Nlink, 10) + return fmt.Sprint(stat.Nlink) } return "" }