diff --git a/cmd/os_other.go b/cmd/os_other.go index 9d0bd8891..15129bfb8 100644 --- a/cmd/os_other.go +++ b/cmd/os_other.go @@ -157,6 +157,6 @@ func readDirWithOpts(dirPath string, opts readDirOpts) (entries []string, err er func globalSync() { // no-op not sure about plan9/solaris support for syscall support - defer globalOSMetrics.time(osMetricSync) + defer globalOSMetrics.time(osMetricSync)() syscall.Sync() }