From c474d44341b1ab9b1b39cf2bbf8686a610b54614 Mon Sep 17 00:00:00 2001 From: Frank Haverkamp Date: Fri, 30 Jun 2006 14:28:31 +0200 Subject: [MTD] UBI: Fixed program versions --- ubi-utils/src/ubirmvol.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'ubi-utils/src/ubirmvol.c') diff --git a/ubi-utils/src/ubirmvol.c b/ubi-utils/src/ubirmvol.c index f810263..43679bc 100644 --- a/ubi-utils/src/ubirmvol.c +++ b/ubi-utils/src/ubirmvol.c @@ -36,7 +36,7 @@ #include #include -#define VERSION "1.1" +#define PROGRAM_VERSION "1.1" /* * The below variables are set by command line options. @@ -60,9 +60,11 @@ static struct args myargs = { static int param_sanity_check(struct args *args, ubi_lib_t lib); static error_t parse_opt(int key, char *optarg, struct argp_state *state); + +const char *argp_program_version = PROGRAM_VERSION; const char *argp_program_bug_address = PACKAGE_BUGREPORT; -static char doc[] = "\nVersion: " VERSION "\n\t" +static char doc[] = "\nVersion: " PROGRAM_VERSION "\n\t" BUILD_OS" "BUILD_CPU" at "__DATE__" "__TIME__"\n" "\nMake UBI Volume.\n"; -- cgit v1.2.3