- patch from Denis Vlasenko to add and use bb_xopen3()

This commit is contained in:
Bernhard Reutner-Fischer
2006-04-13 12:45:04 +00:00
parent 4f3d2deaa4
commit c2cb0f32b4
12 changed files with 38 additions and 71 deletions

View File

@@ -101,8 +101,7 @@ int mt_main(int argc, char **argv)
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: