From 33f2d6b84da88139b2b7ff53e470cb198d425381 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Tue, 9 Dec 2014 15:37:03 +0100 Subject: btrfs-progs: autoconf: use standard PACKAGE_* macros - use standard PACKAGE_{NAME,VERSION,STRING,URL,...} autoconf macros rather than homemade BTRFS_BUILD_VERSION - don't #include version.h, now the file is necessary for library API only Note that "btrfs version" returns "btrfs-progs " instead of the original confusing "btrfs ". Signed-off-by: Karel Zak Signed-off-by: David Sterba --- btrfs-zero-log.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'btrfs-zero-log.c') diff --git a/btrfs-zero-log.c b/btrfs-zero-log.c index 31e7481f..cd0cee01 100644 --- a/btrfs-zero-log.c +++ b/btrfs-zero-log.c @@ -27,14 +27,13 @@ #include "print-tree.h" #include "transaction.h" #include "list.h" -#include "version.h" #include "utils.h" static void print_usage(void) __attribute__((noreturn)); static void print_usage(void) { fprintf(stderr, "usage: btrfs-zero-log dev\n"); - fprintf(stderr, "%s\n", BTRFS_BUILD_VERSION); + fprintf(stderr, "%s\n", PACKAGE_STRING); exit(1); } -- cgit v1.2.3