1
0
mirror of https://github.com/golang/go synced 2024-11-21 22:14:41 -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(); p = expstring();
if(strcmp(p, "X:none") == 0) if(strcmp(p, "X:none") == 0)
p = ""; 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); exits(0);
} ARGEND } ARGEND