aboutsummaryrefslogtreecommitdiff
path: root/mt.c
diff options
context:
space:
mode:
authorkraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-12-01 02:55:13 +0000
committerkraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-12-01 02:55:13 +0000
commit8cb2f75a75eb9694f36312ab4856d335ab2bac19 (patch)
tree013a1e7752113314831ad7d51854ce8dc9e0918b /mt.c
parent8bfd1e939579e988ad4d2c0cc1425448f1fd7236 (diff)
downloadbusybox-w32-8cb2f75a75eb9694f36312ab4856d335ab2bac19.tar.gz
busybox-w32-8cb2f75a75eb9694f36312ab4856d335ab2bac19.tar.bz2
busybox-w32-8cb2f75a75eb9694f36312ab4856d335ab2bac19.zip
Stop using TRUE and FALSE for exit status.
git-svn-id: svn://busybox.net/trunk/busybox@1360 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'mt.c')
-rw-r--r--mt.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/mt.c b/mt.c
index 6acae4ea1..583674b18 100644
--- a/mt.c
+++ b/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}