diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2017-01-29 19:14:26 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-01-29 19:14:26 +0100 |
commit | eba7fe6bb9fdc89cf9d4d33043cd3856253d303d (patch) | |
tree | 7923732f674e98cdd0d5f9b0468c8a19c964bba3 | |
parent | 86663910babe4684fe4ac7cead2fab6f4aa576d7 (diff) | |
download | busybox-w32-eba7fe6bb9fdc89cf9d4d33043cd3856253d303d.tar.gz busybox-w32-eba7fe6bb9fdc89cf9d4d33043cd3856253d303d.tar.bz2 busybox-w32-eba7fe6bb9fdc89cf9d4d33043cd3856253d303d.zip |
vi,fsck: do not use build timestamp unconditionally. Closes 9626
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | e2fsprogs/fsck.c | 2 | ||||
-rw-r--r-- | 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) | |||
1071 | new_args(); /* G.args[G.num_args - 1] is the last, NULL element */ | 1071 | new_args(); /* G.args[G.num_args - 1] is the last, NULL element */ |
1072 | 1072 | ||
1073 | if (!notitle) | 1073 | if (!notitle) |
1074 | puts("fsck (busybox "BB_VER", "BB_BT")"); | 1074 | puts("fsck (busybox "BB_VER")"); |
1075 | 1075 | ||
1076 | /* Even plain "fsck /dev/hda1" needs fstab to get fs type, | 1076 | /* Even plain "fsck /dev/hda1" needs fstab to get fs type, |
1077 | * so we are scanning it anyway */ | 1077 | * 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) | |||
1457 | } | 1457 | } |
1458 | #endif /* FEATURE_VI_SEARCH */ | 1458 | #endif /* FEATURE_VI_SEARCH */ |
1459 | } else if (strncmp(cmd, "version", i) == 0) { // show software version | 1459 | } else if (strncmp(cmd, "version", i) == 0) { // show software version |
1460 | status_line(BB_VER " " BB_BT); | 1460 | status_line(BB_VER); |
1461 | } else if (strncmp(cmd, "write", i) == 0 // write text to file | 1461 | } else if (strncmp(cmd, "write", i) == 0 // write text to file |
1462 | || strncmp(cmd, "wq", i) == 0 | 1462 | || strncmp(cmd, "wq", i) == 0 |
1463 | || strncmp(cmd, "wn", i) == 0 | 1463 | || strncmp(cmd, "wn", i) == 0 |