summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko2017-01-29 19:14:26 +0100
committerDenys Vlasenko2017-01-29 19:14:26 +0100
commiteba7fe6bb9fdc89cf9d4d33043cd3856253d303d (patch)
tree7923732f674e98cdd0d5f9b0468c8a19c964bba3
parent86663910babe4684fe4ac7cead2fab6f4aa576d7 (diff)
downloadbusybox-eba7fe6bb9fdc89cf9d4d33043cd3856253d303d.zip
busybox-eba7fe6bb9fdc89cf9d4d33043cd3856253d303d.tar.gz
vi,fsck: do not use build timestamp unconditionally. Closes 9626
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--e2fsprogs/fsck.c2
-rw-r--r--editors/vi.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/e2fsprogs/fsck.c b/e2fsprogs/fsck.c
index 6414988..eb53002 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 1e5ef44..bbaac50 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