]> 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)
committerLuca Boccassi <luca.boccassi@gmail.com>
Wed, 13 Nov 2024 19:48:10 +0000 (19:48 +0000)
Some of the log message stricts used proper uppercasing, others didn't.
Fix that to make it uniform.

(cherry picked from commit 620a03f669a9075f2d78c2fcf7db45f7046481bc)

src/shared/dissect-image.c

index 59a4ccf770cd3df954d7c7c6e948855c3c61d13b..9a3a4f3dc05f45db3891b662302899e6d52823d8 100644 (file)
@@ -1657,13 +1657,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);
         }
 }