summaryrefslogtreecommitdiff
path: root/miscutils/devfsd.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2008-05-19 09:29:47 +0000
committerBernhard Reutner-Fischer2008-05-19 09:29:47 +0000
commit636a1f85e89432601c59cdc3239fc867b4adf051 (patch)
treed43c9ca120c29bf2d4567b1bb0674c6a8bae2b6d /miscutils/devfsd.c
parentcb83abd7b6b052224c1f3b998e863aac76914afd (diff)
downloadbusybox-636a1f85e89432601c59cdc3239fc867b4adf051.zip
busybox-636a1f85e89432601c59cdc3239fc867b4adf051.tar.gz
- use EXIT_{SUCCESS,FAILURE}. No object-code changes
Diffstat (limited to 'miscutils/devfsd.c')
-rw-r--r--miscutils/devfsd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/miscutils/devfsd.c b/miscutils/devfsd.c
index bb6b679..782457a 100644
--- a/miscutils/devfsd.c
+++ b/miscutils/devfsd.c
@@ -283,9 +283,9 @@ static const char bb_msg_variable_not_found[] ALIGN1 = "variable: %s not found";
#else
#define info_logger(p, fmt, args...)
#define msg_logger(p, fmt, args...)
-#define msg_logger_and_die(p, fmt, args...) exit(1)
+#define msg_logger_and_die(p, fmt, args...) exit(EXIT_FAILURE)
#define error_logger(p, fmt, args...)
-#define error_logger_and_die(p, fmt, args...) exit(1)
+#define error_logger_and_die(p, fmt, args...) exit(EXIT_FAILURE)
#endif
static void safe_memcpy(char *dest, const char *src, int len)
@@ -402,7 +402,7 @@ int devfsd_main(int argc, char **argv)
dir_operation(SERVICE, mount_point, 0, NULL);
if (ENABLE_DEVFSD_FG_NP && no_polling)
- exit(0);
+ exit(EXIT_SUCCESS);
if (ENABLE_DEVFSD_VERBOSE || ENABLE_DEBUG)
logmode = LOGMODE_BOTH;