x1000: fix command line passing for linux boot
Change-Id: I2a016a5f64ef980f49a8cbdcbb0e0af9ad768ce0
This commit is contained in:
parent
ec9e484f64
commit
d0d13baf3e
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ void x1000_boot_linux(const void* source, size_t length,
|
|||
|
||||
/* copy argument string to a safe location */
|
||||
char* args_copy = safe_mem + 32;
|
||||
iram_memmove(args_copy, args, args_len);
|
||||
iram_memmove(args_copy, args, args_len+1);
|
||||
|
||||
/* generate argv array */
|
||||
char** argv = safe_mem;
|
||||
|
|
Loading…
Reference in a new issue