diff options
Diffstat (limited to 'miscutils/mt.c')
-rw-r--r-- | miscutils/mt.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/miscutils/mt.c b/miscutils/mt.c index 6acae4ea1..583674b18 100644 --- a/miscutils/mt.c +++ b/miscutils/mt.c | |||
@@ -76,7 +76,7 @@ extern int mt_main(int argc, char **argv) | |||
76 | 76 | ||
77 | if (code->name == 0) { | 77 | if (code->name == 0) { |
78 | errorMsg("unrecognized opcode %s.\n", argv[1]); | 78 | errorMsg("unrecognized opcode %s.\n", argv[1]); |
79 | exit (FALSE); | 79 | return EXIT_FAILURE; |
80 | } | 80 | } |
81 | 81 | ||
82 | op.mt_op = code->value; | 82 | op.mt_op = code->value; |
@@ -87,13 +87,13 @@ extern int mt_main(int argc, char **argv) | |||
87 | 87 | ||
88 | if ((fd = open(file, O_RDONLY, 0)) < 0) { | 88 | if ((fd = open(file, O_RDONLY, 0)) < 0) { |
89 | perror(file); | 89 | perror(file); |
90 | exit (FALSE); | 90 | return EXIT_FAILURE; |
91 | } | 91 | } |
92 | 92 | ||
93 | if (ioctl(fd, MTIOCTOP, &op) != 0) { | 93 | if (ioctl(fd, MTIOCTOP, &op) != 0) { |
94 | perror(file); | 94 | perror(file); |
95 | exit (FALSE); | 95 | return EXIT_FAILURE; |
96 | } | 96 | } |
97 | 97 | ||
98 | return (TRUE); | 98 | return EXIT_SUCCESS; |
99 | } | 99 | } |