From ca525b4f24a1a27ffe5dfc8d04c55227ca335ba0 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Wed, 13 Jun 2007 12:27:17 +0000 Subject: *: BB_BANNER -> bb_banner (it is not a const or #define)! correct_password: explain in detail why it is ok to use bb_banner fsck_minix: make it print bb version, not it's own (outdated/irrelevant) one Marginal size difference: text data bss dec hex filename 679119 2700 15632 697451 aa46b busybox_old 679091 2700 15632 697423 aa44f busybox_unstripped --- util-linux/fsck_minix.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'util-linux/fsck_minix.c') diff --git a/util-linux/fsck_minix.c b/util-linux/fsck_minix.c index 955d66f..74cccf6 100644 --- a/util-linux/fsck_minix.c +++ b/util-linux/fsck_minix.c @@ -114,7 +114,6 @@ static smallint version2; enum { version2 = 0 }; #endif -#define PROGRAM_VERSION "1.2 - 11/11/96" static smallint repair, automatic, verbose, list, show, warn_mode, force; static smallint changed; /* is filesystem modified? */ static smallint errors_uncorrected; /* flag if some error was not corrected */ @@ -1315,7 +1314,7 @@ int fsck_minix_main(int argc, char **argv) * flags and whether or not the -f switch was specified on the * command line. */ - printf("%s, "PROGRAM_VERSION"\n", applet_name); + printf("%s: %s\n", applet_name, bb_banner); if (!(Super.s_state & MINIX_ERROR_FS) && (Super.s_state & MINIX_VALID_FS) && !force -- cgit v1.1