aboutsummaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorPavel Roskin <proski@gnu.org>2000-07-17 23:45:12 +0000
committerPavel Roskin <proski@gnu.org>2000-07-17 23:45:12 +0000
commit9c5fcc3408626c46bc5187554e950b981143bb38 (patch)
treefef8c909479641fa6828a08efb988cf6f4ed9c8a /init
parentcc8a66b113dbdf04082b6f7c9b0b58984d433028 (diff)
downloadbusybox-9c5fcc3408626c46bc5187554e950b981143bb38.tar.gz
New message added to messages.c: full_version
Used where possible
Diffstat (limited to 'init')
-rw-r--r--init/init.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/init/init.c b/init/init.c
index 5a894392b..ab4ad5651 100644
--- a/init/init.c
+++ b/init/init.c
@@ -46,6 +46,10 @@
# include <sys/syslog.h>
#endif
+#define bb_need_full_version
+#define BB_DECLARE_EXTERN
+#include "messages.c"
+
/* From <linux/vt.h> */
struct vt_stat {
unsigned short v_active; /* active vt */
@@ -938,16 +942,14 @@ extern int init_main(int argc, char **argv)
CONSOLE|
#endif
LOG,
- "init started: BusyBox v%s (%s) multi-call binary\r\n",
- BB_VER, BB_BT);
+ "init started: %s\r\n", full_version);
#else
message(
#if ! defined BB_FEATURE_EXTRA_QUIET
CONSOLE|
#endif
LOG,
- "init(%d) started: BusyBox v%s (%s) multi-call binary\r\n",
- getpid(), BB_VER, BB_BT);
+ "init(%d) started: %s\r\n", getpid(), full_version);
#endif