From: Denys Vlasenko Date: Sun, 29 Jan 2017 18:14:26 +0000 (+0100) Subject: vi,fsck: do not use build timestamp unconditionally. Closes 9626 X-Git-Tag: 1_27_0~144 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=eba7fe6bb9fdc89cf9d4d33043cd3856253d303d;p=oweals%2Fbusybox.git vi,fsck: do not use build timestamp unconditionally. Closes 9626 Signed-off-by: Denys Vlasenko --- 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