mirror of
https://github.com/golang/go
synced 2024-11-12 08:40:21 -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:
parent
09aeca5c04
commit
943dc2cb8d
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user