]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
dissect-image: uppercase first char of dissect error message systematically
authorLennart Poettering <lennart@poettering.net>
Fri, 18 Oct 2024 12:16:13 +0000 (14:16 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 18 Oct 2024 12:16:15 +0000 (14:16 +0200)
Some of the log message stricts used proper uppercasing, others didn't.
Fix that to make it uniform.

src/shared/dissect-image.c

index 4585582523d815baab893ab8bed1732ec31f9d3a..9c2f35d58bb7075dca03a8bc7c137418aef6f316 100644 (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);
         }
 }