Commit 6cc6ef82 authored by David du Colombier's avatar David du Colombier Committed by Brad Fitzpatrick

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: default avatarMinux Ma <minux@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
parent b4bf0663
......@@ -21,7 +21,7 @@ func initMimePlan9() {
}
var typeFiles = []string{
"/sys/lib/mimetypes",
"/sys/lib/mimetype",
}
func initMimeForTests() map[string]string {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment