diff options
author | Matt Kraai | 2000-12-01 02:55:13 +0000 |
---|---|---|
committer | Matt Kraai | 2000-12-01 02:55:13 +0000 |
commit | 3e856ce428cabaf6c8d99a2374a1f9a4a05db5f0 (patch) | |
tree | 013a1e7752113314831ad7d51854ce8dc9e0918b /miscutils/mt.c | |
parent | b558e76eb1ba173ce3501c3e13fb80f426a7faac (diff) | |
download | busybox-3e856ce428cabaf6c8d99a2374a1f9a4a05db5f0.zip busybox-3e856ce428cabaf6c8d99a2374a1f9a4a05db5f0.tar.gz |
Stop using TRUE and FALSE for exit status.
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 6acae4e..583674b 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; } |