summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pkg/strconv/quote.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/strconv/quote.go b/src/pkg/strconv/quote.go
index ccd106264..53774ee6f 100644
--- a/src/pkg/strconv/quote.go
+++ b/src/pkg/strconv/quote.go
@@ -239,7 +239,7 @@ func Unquote(s string) (t string, err os.Error) {
return s, nil
}
if quote != '"' && quote != '\'' {
- return "", err
+ return "", os.EINVAL
}
var buf bytes.Buffer