From: Jan Ziak <0xe2.0x9a.0x9b@gmail.com> Date: Sun, 20 Apr 2014 09:02:01 +0000 (+0200) Subject: cmd/gc: avoid %L in error message X-Git-Tag: go1.3beta1~13 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=943dc2cb8d1a2b56a7e61b2d49b519161efe0dbf;p=gostls13.git cmd/gc: avoid %L in error message Fixes #7783 LGTM=minux.ma R=rsc, minux.ma CC=golang-codereviews https://golang.org/cl/89290043 --- diff --git a/src/cmd/gc/lex.c b/src/cmd/gc/lex.c index 7e28205656..a50101c429 100644 --- a/src/cmd/gc/lex.c +++ b/src/cmd/gc/lex.c @@ -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();