init/main.c: Remove redundant space from saved_command_line
authorYuntao Wang <ytcoode@gmail.com>
Fri, 12 Apr 2024 16:02:08 +0000 (01:02 +0900)
committerMasami Hiramatsu (Google) <mhiramat@kernel.org>
Fri, 12 Apr 2024 16:02:08 +0000 (01:02 +0900)
commitcd24bdb06820d12dc84aeb0a47a10ad7ecf4b027
tree950579547b3fabdc13bd676a6460db2f275b632a
parentefee03a50c2844d78f6fb5e98be1ffd17605dc5b
init/main.c: Remove redundant space from saved_command_line

There is a space at the end of extra_init_args. In the current logic,
copying extra_init_args to saved_command_line will cause extra spaces
in saved_command_line here or there. Remove the trailing space from
extra_init_args to make the string in saved_command_line look more perfect.

Link: https://lore.kernel.org/all/20240412032950.12687-1-ytcoode@gmail.com/
Signed-off-by: Yuntao Wang <ytcoode@gmail.com>
Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
init/main.c