Index: src/pkg/crypto/rand/rand_unix.go |
=================================================================== |
--- a/src/pkg/crypto/rand/rand_unix.go |
+++ b/src/pkg/crypto/rand/rand_unix.go |
@@ -32,7 +32,7 @@ |
r.mu.Lock() |
defer r.mu.Unlock() |
if r.f == nil { |
- f, err := os.Open(r.name, os.O_RDONLY, 0) |
+ f, err := os.Open(r.name) |
if f == nil { |
return 0, err |
} |