aboutsummaryrefslogtreecommitdiff
path: root/miscutils/mt.c
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils/mt.c')
-rw-r--r--miscutils/mt.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/miscutils/mt.c b/miscutils/mt.c
index 44efedbe3..368fc66b9 100644
--- a/miscutils/mt.c
+++ b/miscutils/mt.c
@@ -101,8 +101,7 @@ int mt_main(int argc, char **argv)
101 break; 101 break;
102 } 102 }
103 103
104 if ((fd = open(file, mode, 0)) < 0) 104 fd = bb_xopen3(file, mode, 0);
105 bb_perror_msg_and_die("%s", file);
106 105
107 switch (code->value) { 106 switch (code->value) {
108 case MTTELL: 107 case MTTELL: