[PATCH 2/7] irqtop: make the wording of an error message identical to that of another

Benno Schulenberg <[email protected]>
Newsgroups org.kernel.vger.util-linux
Message-ID <[email protected]>
(Besides: the original looked like a statement, not like an error message.)

Signed-off-by: Benno Schulenberg <[email protected]>
---
 sys-utils/irqtop.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-utils/irqtop.c b/sys-utils/irqtop.c
index 3dbd030e0..a42ece070 100644
--- a/sys-utils/irqtop.c
+++ b/sys-utils/irqtop.c
@@ -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);
-- 
2.48.1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.