aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid du Colombier <0intro@gmail.com>2016-05-15 20:12:34 +0200
committerBrad Fitzpatrick <bradfitz@golang.org>2016-05-15 19:56:08 +0000
commit6cc6ef82ea1ea5c904bb44c14bb6f4eb33937bb1 (patch)
tree49d303e4b3753d37576feb88c367d49efe56703e /src
parentb4bf0663fa3334d053981f222eed5015a0a1b8df (diff)
downloadgo-6cc6ef82ea1ea5c904bb44c14bb6f4eb33937bb1.tar.xz
mime: fix mime type file name on Plan 9
There was a typo introduced in the initial implementation of the Plan 9 support of the mime package. On Plan 9, the mime type file name should be /sys/lib/mimetype instead of /sys/lib/mimetypes. Change-Id: If0f0a9b6f3fbfa8dde551f790e83bdd05e8f0acb Reviewed-on: https://go-review.googlesource.com/23087 Run-TryBot: Minux Ma <minux@golang.org> Reviewed-by: Minux Ma <minux@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src')
-rw-r--r--src/mime/type_plan9.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mime/type_plan9.go b/src/mime/type_plan9.go
index c3ba186e7c..14ff973405 100644
--- a/src/mime/type_plan9.go
+++ b/src/mime/type_plan9.go
@@ -21,7 +21,7 @@ func initMimePlan9() {
}
var typeFiles = []string{
- "/sys/lib/mimetypes",
+ "/sys/lib/mimetype",
}
func initMimeForTests() map[string]string {