aboutsummaryrefslogtreecommitdiff
path: root/sed.c
diff options
context:
space:
mode:
Diffstat (limited to 'sed.c')
-rw-r--r--sed.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sed.c b/sed.c
index 195175e88..3973d212d 100644
--- a/sed.c
+++ b/sed.c
@@ -52,6 +52,9 @@
#include <ctype.h> /* for isspace() */
#include "internal.h"
+#define bb_need_full_version
+#define BB_DECLARE_EXTERN
+#include "messages.c"
/* externs */
extern int optind; /* in unistd.h */
@@ -676,7 +679,7 @@ extern int sed_main(int argc, char **argv)
while ((opt = getopt(argc, argv, "Vhne:f:")) > 0) {
switch (opt) {
case 'V':
- printf("BusyBox v%s (%s)\n", BB_VER, BB_BT);
+ printf("%s\n", full_version);
exit(0);
break;
case 'h':