Simplify log message from kernel cmdline parser

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson
2017-07-02 01:26:36 +02:00
parent ec52a6a240
commit 8161e8d153
+2 -1
View File
@@ -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;