1
0
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:
Mikio Hara 2011-10-26 16:16:46 +09:00
parent f777be8f83
commit 8b92066e31

View File

@ -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