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>
This commit is contained in:
David du Colombier 2016-05-15 20:12:34 +02:00 committed by Brad Fitzpatrick
parent b4bf0663fa
commit 6cc6ef82ea
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ func initMimePlan9() {
}
var typeFiles = []string{
"/sys/lib/mimetypes",
"/sys/lib/mimetype",
}
func initMimeForTests() map[string]string {