diff --git a/sequential/sequential_windows.go b/sequential/sequential_windows.go index f489d30b..3500ecc6 100644 --- a/sequential/sequential_windows.go +++ b/sequential/sequential_windows.go @@ -111,8 +111,10 @@ func openSequential(path string, mode int) (fd windows.Handle, err error) { } // Helpers for CreateTemp -var rand uint32 -var randmu sync.Mutex +var ( + rand uint32 + randmu sync.Mutex +) func reseed() uint32 { return uint32(time.Now().UnixNano() + int64(os.Getpid()))