commit | a61ea6379ae9dbb63fbf022d1456733520db6be7 | [log] [tgz] |
---|---|---|
author | Masami Hiramatsu <mhiramat@kernel.org> | Thu Nov 19 14:53:22 2020 +0900 |
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | Thu Nov 19 08:55:44 2020 -0500 |
tree | 3157960939f7d86dc89a7208927e41e0e409d210 | |
parent | 50b8a742850fce7293bed45753152c425f7e931b [diff] |
tools/bootconfig: Fix errno reference after printf() Fix not to refer the errno variable as the result of previous libc functions after printf() because printf() can change the errno. Link: https://lkml.kernel.org/r/160576520243.320071.51093664672431249.stgit@devnote2 Fixes: 85c46b78da58 ("bootconfig: Add bootconfig magic word for indicating bootconfig explicitly") Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>