vi,fsck: do not use build timestamp unconditionally. Closes 9626
authorDenys Vlasenko <vda.linux@googlemail.com>
Sun, 29 Jan 2017 18:14:26 +0000 (19:14 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sun, 29 Jan 2017 18:14:26 +0000 (19:14 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
e2fsprogs/fsck.c
editors/vi.c

index 6414988b49e2a2ea5ff446de77efd838cfc127dc..eb53002b17dff83bcc46349530ceb8f8e109b9dd 100644 (file)
@@ -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 */
index 1e5ef44fb51804612c4a8e40073745d74cd7ce2c..bbaac50df6c1e91d18e7ce28af2ee0d14862291d 100644 (file)
@@ -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