aboutsummaryrefslogtreecommitdiff
path: root/util-linux/mesg.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/mesg.c')
-rw-r--r--util-linux/mesg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/mesg.c b/util-linux/mesg.c
index c7b696853..8c032555b 100644
--- a/util-linux/mesg.c
+++ b/util-linux/mesg.c
@@ -65,7 +65,7 @@ int mesg_main(int argc UNUSED_PARAM, char **argv)
65 */ 65 */
66 66
67 if (!isatty(STDIN_FILENO)) 67 if (!isatty(STDIN_FILENO))
68 bb_error_msg_and_die("not a tty"); 68 bb_simple_error_msg_and_die("not a tty");
69 69
70 xfstat(STDIN_FILENO, &sb, "stdin"); 70 xfstat(STDIN_FILENO, &sb, "stdin");
71 if (c == 0) { 71 if (c == 0) {