]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
bootctl: log message tweaks 13195/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 26 Jul 2019 13:05:18 +0000 (15:05 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 26 Jul 2019 13:05:18 +0000 (15:05 +0200)
Follow-up for e44c3229f22459b189c1e79cb01fdb156672eb93.

src/boot/bootctl.c

index e7cf73e1a112bd682b67eb19a3529c2eb2c244c9..9ecd9f78f3f20779d8d1d1f155a0a184e9e83ffc 100644 (file)
@@ -1361,7 +1361,7 @@ static int install_random_seed(const char *esp) {
 
         r = genuine_random_bytes(buffer, sz, RANDOM_BLOCK);
         if (r < 0)
-                return log_error_errno(r, "Faile to acquire random seed: %m");
+                return log_error_errno(r, "Failed to acquire random seed: %m");
 
         r = tempfn_random(path, "bootctl", &tmp);
         if (r < 0)
@@ -1384,7 +1384,7 @@ static int install_random_seed(const char *esp) {
 
         tmp = mfree(tmp);
 
-        log_info("Successfully written random seed file %s with %zu bytes.", path, sz);
+        log_info("Random seed file %s successfully written (%zu bytes).", path, sz);
 
         if (!arg_touch_variables)
                 return 0;