]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - term-utils/mesg.c
translation: unify stat error messages
[thirdparty/util-linux.git] / term-utils / mesg.c
index 366c679acd684acfab28afcf207bfb18b544d53e..b24e7833547d1295f9ee03a6e6438888ec67fc89 100644 (file)
@@ -121,7 +121,7 @@ int main(int argc, char *argv[])
                err(MESG_EXIT_FAILURE, _("ttyname failed"));
 
        if (stat(tty, &sb) < 0)
-               err(MESG_EXIT_FAILURE, _("stat %s failed"), tty);
+               err(MESG_EXIT_FAILURE, _("stat failed %s"), tty);
 
        if (!*argv) {
                if (sb.st_mode & (S_IWGRP | S_IWOTH)) {