From 4d1793e25fd6691f8a2407d6d2dfb23809086ef0 Mon Sep 17 00:00:00 2001 From: Brian Norris Date: Mon, 27 Jun 2011 11:27:24 -0700 Subject: mtd-utils: switch more utils to unified versioning More utilities now use the common VERSION system. For utils that printed a very simple message, we use the new common_print_version() "function." Signed-off-by: Brian Norris Acked-by: Mike Frysinger Signed-off-by: Artem Bityutskiy --- mkfs.ubifs/mkfs.ubifs.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'mkfs.ubifs') diff --git a/mkfs.ubifs/mkfs.ubifs.c b/mkfs.ubifs/mkfs.ubifs.c index c718818..733a3bb 100644 --- a/mkfs.ubifs/mkfs.ubifs.c +++ b/mkfs.ubifs/mkfs.ubifs.c @@ -26,8 +26,6 @@ #include #include "common.h" -#define PROGRAM_VERSION "1.5" - /* Size (prime number) of hash table for link counting */ #define HASH_TABLE_SIZE 10099 @@ -606,7 +604,7 @@ static int get_options(int argc, char**argv) verbose = 1; break; case 'V': - printf("Version " PROGRAM_VERSION "\n"); + common_print_version(); exit(0); case 'g': debug_level = strtol(optarg, &endp, 0); -- cgit v1.2.3