x1000: fix command line passing for linux boot

Change-Id: I2a016a5f64ef980f49a8cbdcbb0e0af9ad768ce0
This commit is contained in:
Aidan MacDonald 2022-06-06 10:42:57 +01:00
parent ec9e484f64
commit d0d13baf3e

View file

@ -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;