From 8f8f268cfdecb4cabeb2e649a73afc7a485aeff5 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Tue, 3 Oct 2006 21:00:43 +0000 Subject: bb_applet_name -> applet_name --- miscutils/crond.c | 4 ++-- miscutils/devfsd.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'miscutils') diff --git a/miscutils/crond.c b/miscutils/crond.c index 4f25486dd..db0cc2c6b 100644 --- a/miscutils/crond.c +++ b/miscutils/crond.c @@ -205,7 +205,7 @@ int crond_main(int ac, char **av) */ crondlog("\011%s " VERSION " dillon, started, log level %d\n", - bb_applet_name, LogLevel); + applet_name, LogLevel); SynchronizeDir(); @@ -305,7 +305,7 @@ static int ChangeUser(const char *user) static void startlogger(void) { if (LogFile == 0) { - openlog(bb_applet_name, LOG_CONS | LOG_PID, LOG_CRON); + openlog(applet_name, LOG_CONS | LOG_PID, LOG_CRON); } #if ENABLE_DEBUG_CROND_OPTION else { /* test logfile */ 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, ... ) va_start(ap, fmt); ret = access ("/dev/log", F_OK); if (ret == 0) { - openlog(bb_applet_name, 0, LOG_DAEMON); + openlog(applet_name, 0, LOG_DAEMON); vsyslog( pri , fmt, ap); /* Man: A trailing newline is added when needed. */ closelog(); @@ -492,7 +492,7 @@ int devfsd_main (int argc, char **argv) if ( print_version || (DEVFSD_PROTOCOL_REVISION_DAEMON != proto_rev) ) { bb_printf( "%s v%s\nDaemon %s:\t%d\nKernel-side %s:\t%d\n", - bb_applet_name,DEVFSD_VERSION,bb_msg_proto_rev, + applet_name,DEVFSD_VERSION,bb_msg_proto_rev, DEVFSD_PROTOCOL_REVISION_DAEMON,bb_msg_proto_rev, proto_rev); if (DEVFSD_PROTOCOL_REVISION_DAEMON != proto_rev) bb_error_msg_and_die( "%s mismatch!",bb_msg_proto_rev); @@ -509,7 +509,7 @@ int devfsd_main (int argc, char **argv) if (sigaction (SIGHUP, &new_action, NULL) != 0 || sigaction (SIGUSR1, &new_action, NULL) != 0 ) devfsd_error_msg_and_die( "sigaction"); - bb_printf("%s v%s started for %s\n",bb_applet_name, DEVFSD_VERSION, mount_point); + bb_printf("%s v%s started for %s\n",applet_name, DEVFSD_VERSION, mount_point); /* Set umask so that mknod(2), open(2) and mkdir(2) have complete control over permissions */ umask (0); -- cgit v1.2.3