diff options
Diffstat (limited to 'ubi-utils/ubirmvol.c')
-rw-r--r-- | ubi-utils/ubirmvol.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ubi-utils/ubirmvol.c b/ubi-utils/ubirmvol.c index 5725d90..464f05d 100644 --- a/ubi-utils/ubirmvol.c +++ b/ubi-utils/ubirmvol.c @@ -23,7 +23,6 @@ * Frank Haverkamp <haver@vnet.ibm.com> */ -#define PROGRAM_VERSION "1.1" #define PROGRAM_NAME "ubirmvol" #include <stdio.h> @@ -46,7 +45,7 @@ static struct args args = { .vol_id = -1, }; -static const char doc[] = PROGRAM_NAME " version " PROGRAM_VERSION +static const char doc[] = PROGRAM_NAME " version " VERSION " - a tool to remove UBI volumes."; static const char optionsstr[] = @@ -117,7 +116,7 @@ static int parse_opt(int argc, char * const argv[]) exit(EXIT_SUCCESS); case 'V': - fprintf(stderr, "%s\n", PROGRAM_VERSION); + common_print_version(); exit(EXIT_SUCCESS); case ':': |