- patch from Denis Vlasenko to add and use bb_xopen3()
diff --git a/miscutils/mt.c b/miscutils/mt.c
index 44efedb..368fc66 100644
--- a/miscutils/mt.c
+++ b/miscutils/mt.c
@@ -101,8 +101,7 @@
 			break;
 	}
 
-	if ((fd = open(file, mode, 0)) < 0)
-		bb_perror_msg_and_die("%s", file);
+	fd = bb_xopen3(file, mode, 0);
 
 	switch (code->value) {
 		case MTTELL: