From eba7fe6bb9fdc89cf9d4d33043cd3856253d303d Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sun, 29 Jan 2017 19:14:26 +0100 Subject: [PATCH] vi,fsck: do not use build timestamp unconditionally. Closes 9626 Signed-off-by: Denys Vlasenko --- e2fsprogs/fsck.c | 2 +- editors/vi.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/e2fsprogs/fsck.c b/e2fsprogs/fsck.c index 6414988b4..eb53002b1 100644 --- a/e2fsprogs/fsck.c +++ b/e2fsprogs/fsck.c @@ -1071,7 +1071,7 @@ int fsck_main(int argc UNUSED_PARAM, char **argv) new_args(); /* G.args[G.num_args - 1] is the last, NULL element */ if (!notitle) - puts("fsck (busybox "BB_VER", "BB_BT")"); + puts("fsck (busybox "BB_VER")"); /* Even plain "fsck /dev/hda1" needs fstab to get fs type, * so we are scanning it anyway */ diff --git a/editors/vi.c b/editors/vi.c index 1e5ef44fb..bbaac50df 100644 --- a/editors/vi.c +++ b/editors/vi.c @@ -1457,7 +1457,7 @@ static void colon(char *buf) } #endif /* FEATURE_VI_SEARCH */ } else if (strncmp(cmd, "version", i) == 0) { // show software version - status_line(BB_VER " " BB_BT); + status_line(BB_VER); } else if (strncmp(cmd, "write", i) == 0 // write text to file || strncmp(cmd, "wq", i) == 0 || strncmp(cmd, "wn", i) == 0 -- 2.25.1