]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
terminal-util: fix doubled 'to' in log messages
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 16 Jun 2025 13:25:24 +0000 (22:25 +0900)
committerLuca Boccassi <luca.boccassi@gmail.com>
Wed, 25 Jun 2025 12:36:10 +0000 (13:36 +0100)
Follow-up for 3390be38d19c9d339bbc0e003743ce4278aa58b6.

(cherry picked from commit a4eb5094e624bc4143971447f04c03af6aa0c718)

src/basic/terminal-util.c

index 409f2abb450e30eeaffce1aca9f9a63263454d51..7c1d2ad05001993de9242a630677d6b9fa861992 100644 (file)
@@ -2101,13 +2101,13 @@ int terminal_get_size_by_dsr(
 
         struct termios old_termios;
         if (tcgetattr(input_fd, &old_termios) < 0)
-                return log_debug_errno(errno, "Failed to to get terminal settings: %m");
+                return log_debug_errno(errno, "Failed to get terminal settings: %m");
 
         struct termios new_termios = old_termios;
         termios_disable_echo(&new_termios);
 
         if (tcsetattr(input_fd, TCSADRAIN, &new_termios) < 0)
-                return log_debug_errno(errno, "Failed to to set new terminal settings: %m");
+                return log_debug_errno(errno, "Failed to set new terminal settings: %m");
 
         unsigned saved_row = 0, saved_column = 0;