1
0
mirror of https://github.com/golang/go synced 2024-11-13 18:50:24 -07:00

cmd/gc: avoid %L in error message

Fixes #7783

LGTM=minux.ma
R=rsc, minux.ma
CC=golang-codereviews
https://golang.org/cl/89290043
This commit is contained in:
Jan Ziak 2014-04-20 11:02:01 +02:00
parent 09aeca5c04
commit 943dc2cb8d

View File

@ -214,7 +214,7 @@ main(int argc, char *argv[])
// but not other values.
p = getgoarch();
if(strncmp(p, thestring, strlen(thestring)) != 0)
fatal("cannot use %cg with GOARCH=%s", thechar, p);
sysfatal("cannot use %cg with GOARCH=%s", thechar, p);
goarch = p;
linkarchinit();