aboutsummaryrefslogtreecommitdiff
path: root/src/mime
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2020-07-05 16:34:27 -0400
committerRuss Cox <rsc@golang.org>2020-10-13 00:55:35 +0000
commit84f3b33f10d8f12818975cb188da46145ac2036a (patch)
treefc2157888909a0c04d8f6c4a3974ddb662423a12 /src/mime
parent5ef78c4d84620f6594ad63cbd1b3b43f41670636 (diff)
downloadgo-84f3b33f10d8f12818975cb188da46145ac2036a.tar.gz
go-84f3b33f10d8f12818975cb188da46145ac2036a.zip
syscall: remove dependency on io
Keep syscall and io separated; neither should depend on the other. Change-Id: Icdd61bd0c05d874cabd7b5ae6631dd09dec90112 Reviewed-on: https://go-review.googlesource.com/c/go/+/243902 Trust: Russ Cox <rsc@golang.org> Run-TryBot: Russ Cox <rsc@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org> Reviewed-by: Rob Pike <r@golang.org>
Diffstat (limited to 'src/mime')
-rw-r--r--src/mime/type_windows.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mime/type_windows.go b/src/mime/type_windows.go
index 97b9aeba7a..cee9c9db04 100644
--- a/src/mime/type_windows.go
+++ b/src/mime/type_windows.go
@@ -13,7 +13,7 @@ func init() {
}
func initMimeWindows() {
- names, err := registry.CLASSES_ROOT.ReadSubKeyNames(-1)
+ names, err := registry.CLASSES_ROOT.ReadSubKeyNames()
if err != nil {
return
}