summaryrefslogtreecommitdiff
path: root/arch/alpha/linux/system.cc
diff options
context:
space:
mode:
Diffstat (limited to 'arch/alpha/linux/system.cc')
-rw-r--r--arch/alpha/linux/system.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/alpha/linux/system.cc b/arch/alpha/linux/system.cc
index edd2cdaf1..cdb96096c 100644
--- a/arch/alpha/linux/system.cc
+++ b/arch/alpha/linux/system.cc
@@ -73,7 +73,7 @@ LinuxAlphaSystem::LinuxAlphaSystem(Params *p)
* kernel arguments directly into the kernel's memory.
*/
virtPort.writeBlob(CommandLine(), (uint8_t*)params()->boot_osflags.c_str(),
- CommandLineSize);
+ params()->boot_osflags.length()+1);
/**
* find the address of the est_cycle_freq variable and insert it