]> 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)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 16 Jun 2025 13:25:27 +0000 (22:25 +0900)
Follow-up for 3390be38d19c9d339bbc0e003743ce4278aa58b6.

src/basic/terminal-util.c

index 13337b805646424ce96dd198facaf9bec8dfdc5e..07e20cca8fd67e30047de684c98f9c9cabc73039 100644 (file)
@@ -2297,13 +2297,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;