dissect-image: uppercase first char of dissect error message systematically

Some of the log message stricts used proper uppercasing, others didn't.
Fix that to make it uniform.
This commit is contained in:
Lennart Poettering
2024-10-18 14:16:13 +02:00
parent 5fc46d7b87
commit 620a03f669

View File

@@ -1659,13 +1659,13 @@ int dissect_log_error(int log_level, int r, const char *name, const VeritySettin
name, strna(verity ? verity->data_path : NULL));
case -ERFKILL:
return log_full_errno(log_level, r, "%s: image does not match image policy.", name);
return log_full_errno(log_level, r, "%s: Image does not match image policy.", name);
case -ENOMSG:
return log_full_errno(log_level, r, "%s: no suitable partitions found.", name);
return log_full_errno(log_level, r, "%s: No suitable partitions found.", name);
default:
return log_full_errno(log_level, r, "%s: cannot dissect image: %m", name);
return log_full_errno(log_level, r, "%s: Cannot dissect image: %m", name);
}
}