Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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 88b5d1393..a32ca79dc 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;
}