mirror of
https://github.com/golang/go
synced 2024-11-24 21:10:04 -07: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
@ -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 New Issue
Block a user