diff options
author | proski <proski@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-07-17 23:45:12 +0000 |
---|---|---|
committer | proski <proski@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-07-17 23:45:12 +0000 |
commit | 04578a450cbac6872d9c8360390d72491f4db9fa (patch) | |
tree | fef8c909479641fa6828a08efb988cf6f4ed9c8a /init | |
parent | 9602aae15181429b0b99af5561c731932b6e57ed (diff) | |
download | busybox-w32-04578a450cbac6872d9c8360390d72491f4db9fa.tar.gz busybox-w32-04578a450cbac6872d9c8360390d72491f4db9fa.tar.bz2 busybox-w32-04578a450cbac6872d9c8360390d72491f4db9fa.zip |
New message added to messages.c: full_version
Used where possible
git-svn-id: svn://busybox.net/trunk/busybox@871 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'init')
-rw-r--r-- | init/init.c | 10 |
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 @@ | |||
46 | # include <sys/syslog.h> | 46 | # include <sys/syslog.h> |
47 | #endif | 47 | #endif |
48 | 48 | ||
49 | #define bb_need_full_version | ||
50 | #define BB_DECLARE_EXTERN | ||
51 | #include "messages.c" | ||
52 | |||
49 | /* From <linux/vt.h> */ | 53 | /* From <linux/vt.h> */ |
50 | struct vt_stat { | 54 | struct vt_stat { |
51 | unsigned short v_active; /* active vt */ | 55 | unsigned short v_active; /* active vt */ |
@@ -938,16 +942,14 @@ extern int init_main(int argc, char **argv) | |||
938 | CONSOLE| | 942 | CONSOLE| |
939 | #endif | 943 | #endif |
940 | LOG, | 944 | LOG, |
941 | "init started: BusyBox v%s (%s) multi-call binary\r\n", | 945 | "init started: %s\r\n", full_version); |
942 | BB_VER, BB_BT); | ||
943 | #else | 946 | #else |
944 | message( | 947 | message( |
945 | #if ! defined BB_FEATURE_EXTRA_QUIET | 948 | #if ! defined BB_FEATURE_EXTRA_QUIET |
946 | CONSOLE| | 949 | CONSOLE| |
947 | #endif | 950 | #endif |
948 | LOG, | 951 | LOG, |
949 | "init(%d) started: BusyBox v%s (%s) multi-call binary\r\n", | 952 | "init(%d) started: %s\r\n", getpid(), full_version); |
950 | getpid(), BB_VER, BB_BT); | ||
951 | #endif | 953 | #endif |
952 | 954 | ||
953 | 955 | ||