aboutsummaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-10-03 21:00:43 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-10-03 21:00:43 +0000
commitd8cf793135eac928e653eb5178894a611aa27837 (patch)
tree8c555cc94aca9fabd177526e554d93bed4886642 /miscutils
parent63adc7384791548741e3a2afbee1be40d99fe9d2 (diff)
downloadbusybox-w32-d8cf793135eac928e653eb5178894a611aa27837.tar.gz
busybox-w32-d8cf793135eac928e653eb5178894a611aa27837.tar.bz2
busybox-w32-d8cf793135eac928e653eb5178894a611aa27837.zip
bb_applet_name -> applet_name
git-svn-id: svn://busybox.net/trunk/busybox@16306 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'miscutils')
-rw-r--r--miscutils/crond.c4
-rw-r--r--miscutils/devfsd.c6
2 files changed, 5 insertions, 5 deletions
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)
205 */ 205 */
206 206
207 crondlog("\011%s " VERSION " dillon, started, log level %d\n", 207 crondlog("\011%s " VERSION " dillon, started, log level %d\n",
208 bb_applet_name, LogLevel); 208 applet_name, LogLevel);
209 209
210 SynchronizeDir(); 210 SynchronizeDir();
211 211
@@ -305,7 +305,7 @@ static int ChangeUser(const char *user)
305static void startlogger(void) 305static void startlogger(void)
306{ 306{
307 if (LogFile == 0) { 307 if (LogFile == 0) {
308 openlog(bb_applet_name, LOG_CONS | LOG_PID, LOG_CRON); 308 openlog(applet_name, LOG_CONS | LOG_PID, LOG_CRON);
309 } 309 }
310#if ENABLE_DEBUG_CROND_OPTION 310#if ENABLE_DEBUG_CROND_OPTION
311 else { /* test logfile */ 311 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, ... )
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);