summaryrefslogtreecommitdiff
path: root/dmesg.c
diff options
context:
space:
mode:
authorMatt Kraai2000-12-01 02:55:13 +0000
committerMatt Kraai2000-12-01 02:55:13 +0000
commit3e856ce428cabaf6c8d99a2374a1f9a4a05db5f0 (patch)
tree013a1e7752113314831ad7d51854ce8dc9e0918b /dmesg.c
parentb558e76eb1ba173ce3501c3e13fb80f426a7faac (diff)
downloadbusybox-3e856ce428cabaf6c8d99a2374a1f9a4a05db5f0.zip
busybox-3e856ce428cabaf6c8d99a2374a1f9a4a05db5f0.tar.gz
Stop using TRUE and FALSE for exit status.
Diffstat (limited to 'dmesg.c')
-rw-r--r--dmesg.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/dmesg.c b/dmesg.c
index 88b5d13..a32ca79 100644
--- a/dmesg.c
+++ b/dmesg.c
@@ -73,7 +73,7 @@ int dmesg_main(int argc, char **argv)
if (n < 0) {
goto klogctl_error;
}
- exit(TRUE);
+ return EXIT_SUCCESS;
}
if (bufsize < 4096)
@@ -98,11 +98,11 @@ int dmesg_main(int argc, char **argv)
}
if (lastc != '\n')
putchar('\n');
- exit(TRUE);
+ return EXIT_SUCCESS;
end:
usage(dmesg_usage);
- exit(FALSE);
+ return EXIT_FAILURE;
klogctl_error:
perror("klogctl");
- return(FALSE);
+ return EXIT_FAILURE;
}