aboutsummaryrefslogtreecommitdiff
path: root/miscutils/devfsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils/devfsd.c')
-rw-r--r--miscutils/devfsd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/miscutils/devfsd.c b/miscutils/devfsd.c
index e5bb8a2d8..839d00fd0 100644
--- a/miscutils/devfsd.c
+++ b/miscutils/devfsd.c
@@ -453,7 +453,7 @@ int devfsd_main(int argc, char **argv)
453 DEVFSD_PROTOCOL_REVISION_DAEMON, bb_msg_proto_rev, proto_rev); 453 DEVFSD_PROTOCOL_REVISION_DAEMON, bb_msg_proto_rev, proto_rev);
454 if (DEVFSD_PROTOCOL_REVISION_DAEMON != proto_rev) 454 if (DEVFSD_PROTOCOL_REVISION_DAEMON != proto_rev)
455 bb_error_msg_and_die("%s mismatch!", bb_msg_proto_rev); 455 bb_error_msg_and_die("%s mismatch!", bb_msg_proto_rev);
456 exit(EXIT_SUCCESS); /* -v */ 456 exit_SUCCESS(); /* -v */
457 } 457 }
458 /* Tell kernel we are special(i.e. we get to see hidden entries) */ 458 /* Tell kernel we are special(i.e. we get to see hidden entries) */
459 xioctl(fd, DEVFSDIOC_SET_EVENT_MASK, 0); 459 xioctl(fd, DEVFSDIOC_SET_EVENT_MASK, 0);
@@ -474,7 +474,7 @@ int devfsd_main(int argc, char **argv)
474 dir_operation(SERVICE, mount_point, 0, NULL); 474 dir_operation(SERVICE, mount_point, 0, NULL);
475 475
476 if (ENABLE_DEVFSD_FG_NP && no_polling) 476 if (ENABLE_DEVFSD_FG_NP && no_polling)
477 exit(EXIT_SUCCESS); 477 exit_SUCCESS();
478 478
479 if (ENABLE_DEVFSD_VERBOSE || ENABLE_DEBUG) 479 if (ENABLE_DEVFSD_VERBOSE || ENABLE_DEBUG)
480 logmode = LOGMODE_BOTH; 480 logmode = LOGMODE_BOTH;