diff options
| author | Jan Ziak <0xe2.0x9a.0x9b@gmail.com> | 2014-04-20 11:02:01 +0200 |
|---|---|---|
| committer | Jan Ziak <0xe2.0x9a.0x9b@gmail.com> | 2014-04-20 11:02:01 +0200 |
| commit | 943dc2cb8d1a2b56a7e61b2d49b519161efe0dbf (patch) | |
| tree | 6c328f3a092ce42ff398cf3650e56fabbe1c59a0 /src/cmd/gc | |
| parent | 09aeca5c04a6a6775e91857459e05888721d6999 (diff) | |
| download | go-943dc2cb8d1a2b56a7e61b2d49b519161efe0dbf.tar.xz | |
cmd/gc: avoid %L in error message
Fixes #7783
LGTM=minux.ma
R=rsc, minux.ma
CC=golang-codereviews
https://golang.org/cl/89290043
Diffstat (limited to 'src/cmd/gc')
| -rw-r--r-- | src/cmd/gc/lex.c | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |
