aboutsummaryrefslogtreecommitdiff
path: root/miscutils/mt.c
diff options
context:
space:
mode:
authorGravatar Matt Kraai <kraai@debian.org>2000-12-01 02:55:13 +0000
committerGravatar Matt Kraai <kraai@debian.org>2000-12-01 02:55:13 +0000
commit3e856ce428cabaf6c8d99a2374a1f9a4a05db5f0 (patch)
tree013a1e7752113314831ad7d51854ce8dc9e0918b /miscutils/mt.c
parentb558e76eb1ba173ce3501c3e13fb80f426a7faac (diff)
downloadbusybox-3e856ce428cabaf6c8d99a2374a1f9a4a05db5f0.tar.gz
busybox-3e856ce428cabaf6c8d99a2374a1f9a4a05db5f0.tar.bz2
Stop using TRUE and FALSE for exit status.
Diffstat (limited to 'miscutils/mt.c')
-rw-r--r--miscutils/mt.c8
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)
if (code->name == 0) {
errorMsg("unrecognized opcode %s.\n", argv[1]);
- exit (FALSE);
+ return EXIT_FAILURE;
}
op.mt_op = code->value;
@@ -87,13 +87,13 @@ extern int mt_main(int argc, char **argv)
if ((fd = open(file, O_RDONLY, 0)) < 0) {
perror(file);
- exit (FALSE);
+ return EXIT_FAILURE;
}
if (ioctl(fd, MTIOCTOP, &op) != 0) {
perror(file);
- exit (FALSE);
+ return EXIT_FAILURE;
}
- return (TRUE);
+ return EXIT_SUCCESS;
}