#include <sys/mtio.h>
#include <sys/fcntl.h>
-static const char mt_usage[] = "mt [-f device] opcode value\n"
-#ifndef BB_FEATURE_TRIVIAL_HELP
- "\nControl magnetic tape drive operation\n"
-#endif
- ;
-
struct mt_opcodes {
char *name;
short value;
}
if (code->name == 0) {
- fprintf(stderr, "mt: unrecognized opcode %s.\n", argv[1]);
+ errorMsg("unrecognized opcode %s.\n", argv[1]);
exit (FALSE);
}
exit (FALSE);
}
- exit (TRUE);
+ return (TRUE);
}