Merge pull request #5958 from keszybz/explicit-log-errno

Use explicit errno in log calls
This commit is contained in:
Lennart Poettering
2017-05-22 10:12:18 +02:00
committed by GitHub
20 changed files with 172 additions and 69 deletions
+1 -1
View File
@@ -2029,7 +2029,7 @@ static int determine_names(void) {
if (r < 0)
return log_error_errno(r, "Failed to find image for machine '%s': %m", arg_machine);
if (r == 0) {
log_error("No image for machine '%s': %m", arg_machine);
log_error("No image for machine '%s'.", arg_machine);
return -ENOENT;
}