aboutsummaryrefslogtreecommitdiff
path: root/mt.c
diff options
context:
space:
mode:
authorMatt Kraai <kraai@debian.org>2000-12-01 02:55:13 +0000
committerMatt Kraai <kraai@debian.org>2000-12-01 02:55:13 +0000
commit3e856ce428cabaf6c8d99a2374a1f9a4a05db5f0 (patch)
tree013a1e7752113314831ad7d51854ce8dc9e0918b /mt.c
parentb558e76eb1ba173ce3501c3e13fb80f426a7faac (diff)
downloadbusybox-w32-3e856ce428cabaf6c8d99a2374a1f9a4a05db5f0.tar.gz
busybox-w32-3e856ce428cabaf6c8d99a2374a1f9a4a05db5f0.tar.bz2
busybox-w32-3e856ce428cabaf6c8d99a2374a1f9a4a05db5f0.zip
Stop using TRUE and FALSE for exit status.
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}