Commit 943dc2cb authored by Jan Ziak's avatar Jan Ziak

cmd/gc: avoid %L in error message

Fixes #7783

LGTM=minux.ma
R=rsc, minux.ma
CC=golang-codereviews
https://golang.org/cl/89290043
parent 09aeca5c
......@@ -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();
......
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