diff options
author | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-10-26 23:21:47 +0000 |
---|---|---|
committer | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-10-26 23:21:47 +0000 |
commit | 6dc3a21627db11fa0f374afe29a6bbf4f89c8b64 (patch) | |
tree | 79166b700c497fbe798b6031e5bbff97e0933573 /miscutils/devfsd.c | |
parent | 076d919b597733c0adf653d0ad10073be4adec7f (diff) | |
download | busybox-w32-6dc3a21627db11fa0f374afe29a6bbf4f89c8b64.tar.gz busybox-w32-6dc3a21627db11fa0f374afe29a6bbf4f89c8b64.tar.bz2 busybox-w32-6dc3a21627db11fa0f374afe29a6bbf4f89c8b64.zip |
remove bb_printf and the like
git-svn-id: svn://busybox.net/trunk/busybox@16446 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'miscutils/devfsd.c')
-rw-r--r-- | miscutils/devfsd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/miscutils/devfsd.c b/miscutils/devfsd.c index f1fee2c90..32973d630 100644 --- a/miscutils/devfsd.c +++ b/miscutils/devfsd.c | |||
@@ -491,9 +491,9 @@ int devfsd_main (int argc, char **argv) | |||
491 | 491 | ||
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 | printf( "%s v%s\nDaemon %s:\t%d\nKernel-side %s:\t%d\n", |
495 | 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); |
499 | exit(EXIT_SUCCESS); /* -v */ | 499 | exit(EXIT_SUCCESS); /* -v */ |
@@ -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",applet_name, DEVFSD_VERSION, mount_point); | 512 | 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); |