From 8b92066e31e127f7193c29e716af39a06ec0b82a Mon Sep 17 00:00:00 2001 From: Mikio Hara Date: Wed, 26 Oct 2011 16:16:46 +0900 Subject: [PATCH] gc: fix [568]g -V crash R=lvd CC=golang-dev https://golang.org/cl/5314060 --- src/cmd/gc/lex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/gc/lex.c b/src/cmd/gc/lex.c index 1d7f0e82e34..6e66b502fb5 100644 --- a/src/cmd/gc/lex.c +++ b/src/cmd/gc/lex.c @@ -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