]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
firstboot: get rid of pointless strjoina() 39101/head
authorLennart Poettering <lennart@poettering.net>
Fri, 26 Sep 2025 07:43:45 +0000 (09:43 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 26 Sep 2025 07:43:45 +0000 (09:43 +0200)
src/firstboot/firstboot.c

index 71fc8539d8b3e019f9c6a4f23415f6342aa6120f..6a2e8ee2841443993c5cb4ec752fc2d13822c431 100644 (file)
@@ -745,8 +745,8 @@ static int prompt_root_password(int rfd, sd_varlink **mute_console_link) {
 
         print_welcome(rfd, mute_console_link);
 
-        msg1 = strjoina("Please enter the new root password (empty to skip):");
-        msg2 = strjoina("Please enter the new root password again:");
+        msg1 = "Please enter the new root password (empty to skip):";
+        msg2 = "Please enter the new root password again:";
 
         suggest_passwords();