gpt-auto-generator: include error cause in log message

This commit is contained in:
Yu Watanabe
2018-10-20 02:00:55 +09:00
parent 0cab6f7db8
commit 0a1b94497a
+1 -1
View File
@@ -561,7 +561,7 @@ static int parse_proc_cmdline_item(const char *key, const char *value, void *dat
r = value ? parse_boolean(value) : 1;
if (r < 0)
log_warning("Failed to parse gpt-auto switch \"%s\". Ignoring.", value);
log_warning_errno(r, "Failed to parse gpt-auto switch \"%s\", ignoring: %m", value);
else
arg_enabled = r;