Support having spaces in kcmdline-parsed kernel command line paremeters by using the UNIT SEPARATOR
This commit is contained in:
parent
6430ce85b3
commit
0f9c404ee8
@ -41,6 +41,14 @@ void args_parse(char * _arg) {
|
||||
*v = '\0';
|
||||
v++;
|
||||
value = v;
|
||||
char * tmp = value;
|
||||
/* scan it for \037 and replace with spaces */
|
||||
while (*tmp) {
|
||||
if (*tmp == '\037') {
|
||||
*tmp = ' ';
|
||||
}
|
||||
tmp++;
|
||||
}
|
||||
goto _break;
|
||||
}
|
||||
v++;
|
||||
|
Loading…
Reference in New Issue
Block a user