path: root/btrfs-show-super.c
diff options
authorKarel Zak <>2014-12-09 15:37:03 +0100
committerDavid Sterba <>2015-01-28 18:00:58 +0100
commit33f2d6b84da88139b2b7ff53e470cb198d425381 (patch)
treec05a3cb96b2c48a95818882224d07c63501deeb3 /btrfs-show-super.c
parentbb6b4fea9f78939262446e35d2e0d4d0ed0d8e57 (diff)
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 <version>" instead of the original confusing "btrfs <version>". Signed-off-by: Karel Zak <> Signed-off-by: David Sterba <>
Diffstat (limited to 'btrfs-show-super.c')
1 files changed, 1 insertions, 2 deletions
diff --git a/btrfs-show-super.c b/btrfs-show-super.c
index 4afa8527..1c7a0867 100644
--- a/btrfs-show-super.c
+++ b/btrfs-show-super.c
@@ -31,7 +31,6 @@
#include "print-tree.h"
#include "transaction.h"
#include "list.h"
-#include "version.h"
#include "utils.h"
#include "crc32c.h"
@@ -49,7 +48,7 @@ static void print_usage(void)
fprintf(stderr, "\t-a : print information of all superblocks\n");
fprintf(stderr, "\t-i <super_mirror> : specify which mirror to print out\n");
fprintf(stderr, "\t-F : attempt to dump superblocks with bad magic\n");
- fprintf(stderr, "%s\n", BTRFS_BUILD_VERSION);
+ fprintf(stderr, "%s\n", PACKAGE_STRING);
int main(int argc, char **argv)