From f40438900b5d9bf80554b414e4c4cd184e2a6739 Mon Sep 17 00:00:00 2001 From: =?utf8?q?P=C3=A1draig=20Brady?= Date: Sat, 21 Jun 2025 10:59:46 +0100 Subject: [PATCH] tty: translate new error * src/tty.c (main): Translate and adjust new ttyname() error diagnostic, to be clearer and avoid a syntax check failure. --- src/tty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tty.c b/src/tty.c index d5dea5200b..e04c72bd77 100644 --- a/src/tty.c +++ b/src/tty.c @@ -126,7 +126,7 @@ main (int argc, char **argv) { int ttyname_err = errno; if (isatty (STDIN_FILENO)) - error (TTY_TTYNAME_FAILURE, ttyname_err, "ttyname"); + error (TTY_TTYNAME_FAILURE, ttyname_err, _("ttyname error")); tty = _("not a tty"); status = TTY_STDIN_NOTTY; } -- 2.47.3