diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-05-19 09:29:47 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-05-19 09:29:47 +0000 |
commit | 636a1f85e89432601c59cdc3239fc867b4adf051 (patch) | |
tree | d43c9ca120c29bf2d4567b1bb0674c6a8bae2b6d /miscutils/devfsd.c | |
parent | cb83abd7b6b052224c1f3b998e863aac76914afd (diff) | |
download | busybox-w32-636a1f85e89432601c59cdc3239fc867b4adf051.tar.gz busybox-w32-636a1f85e89432601c59cdc3239fc867b4adf051.tar.bz2 busybox-w32-636a1f85e89432601c59cdc3239fc867b4adf051.zip |
- use EXIT_{SUCCESS,FAILURE}. No object-code changes
Diffstat (limited to 'miscutils/devfsd.c')
-rw-r--r-- | miscutils/devfsd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/miscutils/devfsd.c b/miscutils/devfsd.c index bb6b679b9..782457ac7 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"; | |||
283 | #else | 283 | #else |
284 | #define info_logger(p, fmt, args...) | 284 | #define info_logger(p, fmt, args...) |
285 | #define msg_logger(p, fmt, args...) | 285 | #define msg_logger(p, fmt, args...) |
286 | #define msg_logger_and_die(p, fmt, args...) exit(1) | 286 | #define msg_logger_and_die(p, fmt, args...) exit(EXIT_FAILURE) |
287 | #define error_logger(p, fmt, args...) | 287 | #define error_logger(p, fmt, args...) |
288 | #define error_logger_and_die(p, fmt, args...) exit(1) | 288 | #define error_logger_and_die(p, fmt, args...) exit(EXIT_FAILURE) |
289 | #endif | 289 | #endif |
290 | 290 | ||
291 | static void safe_memcpy(char *dest, const char *src, int len) | 291 | static void safe_memcpy(char *dest, const char *src, int len) |
@@ -402,7 +402,7 @@ int devfsd_main(int argc, char **argv) | |||
402 | dir_operation(SERVICE, mount_point, 0, NULL); | 402 | dir_operation(SERVICE, mount_point, 0, NULL); |
403 | 403 | ||
404 | if (ENABLE_DEVFSD_FG_NP && no_polling) | 404 | if (ENABLE_DEVFSD_FG_NP && no_polling) |
405 | exit(0); | 405 | exit(EXIT_SUCCESS); |
406 | 406 | ||
407 | if (ENABLE_DEVFSD_VERBOSE || ENABLE_DEBUG) | 407 | if (ENABLE_DEVFSD_VERBOSE || ENABLE_DEBUG) |
408 | logmode = LOGMODE_BOTH; | 408 | logmode = LOGMODE_BOTH; |