mirror of
https://github.com/troglobit/finit.git
synced 2026-10-07 08:04:22 +07:00
Simplify log message from kernel cmdline parser
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
+2
-1
@@ -49,7 +49,8 @@ void conf_parse_cmdline(void)
|
||||
fp = fopen("/proc/cmdline", "r");
|
||||
if (fp) {
|
||||
fgets(line, sizeof(line), fp);
|
||||
_d("Kernel command line: %s", line);
|
||||
chomp(line);
|
||||
_d("%s", line);
|
||||
|
||||
if (strstr(line, "finit_debug") || strstr(line, "--debug"))
|
||||
debug = 1;
|
||||
|
||||
Reference in New Issue
Block a user