From 3e856ce428cabaf6c8d99a2374a1f9a4a05db5f0 Mon Sep 17 00:00:00 2001 From: Matt Kraai Date: Fri, 1 Dec 2000 02:55:13 +0000 Subject: Stop using TRUE and FALSE for exit status. --- miscutils/mt.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'miscutils/mt.c') 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; } -- cgit v1.2.3