aboutsummaryrefslogtreecommitdiff
path: root/util-linux/dmesg.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 /util-linux/dmesg.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 'util-linux/dmesg.c')
-rw-r--r--util-linux/dmesg.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/util-linux/dmesg.c b/util-linux/dmesg.c
index 88b5d1393..a32ca79dc 100644
--- a/util-linux/dmesg.c
+++ b/util-linux/dmesg.c
@@ -73,7 +73,7 @@ int dmesg_main(int argc, char **argv)
73 if (n < 0) { 73 if (n < 0) {
74 goto klogctl_error; 74 goto klogctl_error;
75 } 75 }
76 exit(TRUE); 76 return EXIT_SUCCESS;
77 } 77 }
78 78
79 if (bufsize < 4096) 79 if (bufsize < 4096)
@@ -98,11 +98,11 @@ int dmesg_main(int argc, char **argv)
98 } 98 }
99 if (lastc != '\n') 99 if (lastc != '\n')
100 putchar('\n'); 100 putchar('\n');
101 exit(TRUE); 101 return EXIT_SUCCESS;
102 end: 102 end:
103 usage(dmesg_usage); 103 usage(dmesg_usage);
104 exit(FALSE); 104 return EXIT_FAILURE;
105 klogctl_error: 105 klogctl_error:
106 perror("klogctl"); 106 perror("klogctl");
107 return(FALSE); 107 return EXIT_FAILURE;
108} 108}