diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-03 21:00:43 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-03 21:00:43 +0000 |
commit | 8f8f268cfdecb4cabeb2e649a73afc7a485aeff5 (patch) | |
tree | 8c555cc94aca9fabd177526e554d93bed4886642 /miscutils/devfsd.c | |
parent | 67b23e6043d8e2b30b0bf3bc105b8583c2a26db5 (diff) | |
download | busybox-w32-8f8f268cfdecb4cabeb2e649a73afc7a485aeff5.tar.gz busybox-w32-8f8f268cfdecb4cabeb2e649a73afc7a485aeff5.tar.bz2 busybox-w32-8f8f268cfdecb4cabeb2e649a73afc7a485aeff5.zip |
bb_applet_name -> applet_name
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 0f36970f9..f1fee2c90 100644 --- a/miscutils/devfsd.c +++ b/miscutils/devfsd.c | |||
@@ -306,7 +306,7 @@ static void msg_logger(int pri, const char * fmt, ... ) | |||
306 | va_start(ap, fmt); | 306 | va_start(ap, fmt); |
307 | ret = access ("/dev/log", F_OK); | 307 | ret = access ("/dev/log", F_OK); |
308 | if (ret == 0) { | 308 | if (ret == 0) { |
309 | openlog(bb_applet_name, 0, LOG_DAEMON); | 309 | openlog(applet_name, 0, LOG_DAEMON); |
310 | vsyslog( pri , fmt, ap); | 310 | vsyslog( pri , fmt, ap); |
311 | /* Man: A trailing newline is added when needed. */ | 311 | /* Man: A trailing newline is added when needed. */ |
312 | closelog(); | 312 | closelog(); |
@@ -492,7 +492,7 @@ int devfsd_main (int argc, char **argv) | |||
492 | if ( print_version || (DEVFSD_PROTOCOL_REVISION_DAEMON != proto_rev) ) | 492 | if ( print_version || (DEVFSD_PROTOCOL_REVISION_DAEMON != proto_rev) ) |
493 | { | 493 | { |
494 | bb_printf( "%s v%s\nDaemon %s:\t%d\nKernel-side %s:\t%d\n", | 494 | bb_printf( "%s v%s\nDaemon %s:\t%d\nKernel-side %s:\t%d\n", |
495 | bb_applet_name,DEVFSD_VERSION,bb_msg_proto_rev, | 495 | applet_name,DEVFSD_VERSION,bb_msg_proto_rev, |
496 | DEVFSD_PROTOCOL_REVISION_DAEMON,bb_msg_proto_rev, proto_rev); | 496 | DEVFSD_PROTOCOL_REVISION_DAEMON,bb_msg_proto_rev, proto_rev); |
497 | if (DEVFSD_PROTOCOL_REVISION_DAEMON != proto_rev) | 497 | if (DEVFSD_PROTOCOL_REVISION_DAEMON != proto_rev) |
498 | bb_error_msg_and_die( "%s mismatch!",bb_msg_proto_rev); | 498 | bb_error_msg_and_die( "%s mismatch!",bb_msg_proto_rev); |
@@ -509,7 +509,7 @@ int devfsd_main (int argc, char **argv) | |||
509 | if (sigaction (SIGHUP, &new_action, NULL) != 0 || sigaction (SIGUSR1, &new_action, NULL) != 0 ) | 509 | if (sigaction (SIGHUP, &new_action, NULL) != 0 || sigaction (SIGUSR1, &new_action, NULL) != 0 ) |
510 | devfsd_error_msg_and_die( "sigaction"); | 510 | devfsd_error_msg_and_die( "sigaction"); |
511 | 511 | ||
512 | bb_printf("%s v%s started for %s\n",bb_applet_name, DEVFSD_VERSION, mount_point); | 512 | bb_printf("%s v%s started for %s\n",applet_name, DEVFSD_VERSION, mount_point); |
513 | 513 | ||
514 | /* Set umask so that mknod(2), open(2) and mkdir(2) have complete control over permissions */ | 514 | /* Set umask so that mknod(2), open(2) and mkdir(2) have complete control over permissions */ |
515 | umask (0); | 515 | umask (0); |