]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
irqtop: make the wording of an error message identical to that of another
authorBenno Schulenberg <bensberg@telfort.nl>
Thu, 24 Apr 2025 09:32:32 +0000 (11:32 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 29 Apr 2025 11:02:40 +0000 (13:02 +0200)
(Besides: the original looked like a statement, not like an error message.)

Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
sys-utils/irqtop.c

index 3dbd030e0b1ebac4ecc8c84a58300d8a3b2ab1de..a42ece070f7a142650f3fe54dfb748335b24b962 100644 (file)
@@ -465,7 +465,7 @@ int main(int argc, char **argv)
        if (!ctl.batch) {
                is_tty = isatty(STDIN_FILENO);
                if (is_tty && tcgetattr(STDIN_FILENO, &saved_tty) == -1)
-                       fputs(_("terminal setting retrieval"), stdout);
+                       fputs(_("failed to get terminal attributes"), stdout);
 
                ctl.win = initscr();
                get_terminal_dimension(&ctl.cols, &ctl.rows);