mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 16:37:19 +09:00
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user