From 24749375ab8fc99372eebb9f007b048b29e3cb5c Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Sun, 30 May 2010 22:23:55 +0400 Subject: [PATCH] kvm: Append missing ending space for built-in command line We have a predefined command line but when an user passes additional parameters the last predefined argument and first user's one get sticked together. Fix it by adding ending space for built-in command line. Signed-off-by: Cyrill Gorcunov --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index a6f2889..570e87e 100644 --- a/main.c +++ b/main.c @@ -67,7 +67,7 @@ int main(int argc, char *argv[]) kvm__setup_cpuid(kvm); - strcpy(real_cmdline, "notsc nolapic nosmp noacpi earlyprintk=serial,keep"); + strcpy(real_cmdline, "notsc nolapic nosmp noacpi earlyprintk=serial,keep "); if (kernel_cmdline) { strlcat(real_cmdline, kernel_cmdline, sizeof(real_cmdline)); real_cmdline[sizeof(real_cmdline)-1] = '\0';