mirror of
https://github.com/golang/go
synced 2024-11-02 11:50:30 +00:00
gc: fix [568]g -V crash
R=lvd CC=golang-dev https://golang.org/cl/5314060
This commit is contained in:
parent
f777be8f83
commit
8b92066e31
1 changed files with 1 additions and 1 deletions
|
@ -229,7 +229,7 @@ main(int argc, char *argv[])
|
|||
p = expstring();
|
||||
if(strcmp(p, "X:none") == 0)
|
||||
p = "";
|
||||
print("%cg version %s%s%s%s\n", thechar, getgoversion(), *p ? " " : "", p);
|
||||
print("%cg version %s%s%s\n", thechar, getgoversion(), *p ? " " : "", p);
|
||||
exits(0);
|
||||
} ARGEND
|
||||
|
||||
|
|
Loading…
Reference in a new issue