]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
firstboot: fix typo
authorAntonio Alvarez Feijoo <antonio.feijoo@suse.com>
Mon, 26 Jun 2023 14:01:13 +0000 (16:01 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 26 Jun 2023 15:24:02 +0000 (17:24 +0200)
src/firstboot/firstboot.c

index 65859eaa9fc6ce7d0f2060f2ceeb7bbe506ea7d9..29fc61dd67e2ad6308e997cb9bcebf0d5a22335c 100644 (file)
@@ -742,7 +742,7 @@ static int process_machine_id(int rfd) {
         r = write_string_file_at(pfd, "machine-id", SD_ID128_TO_STRING(arg_machine_id),
                                  WRITE_STRING_FILE_CREATE|WRITE_STRING_FILE_SYNC|WRITE_STRING_FILE_ATOMIC);
         if (r < 0)
-                return log_error_errno(r, "Failed to write /etc/machine id: %m");
+                return log_error_errno(r, "Failed to write /etc/machine-id: %m");
 
         log_info("/etc/machine-id written.");
         return 0;