[PATCH] Btrfs-progs: fix compile failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



make
::
    [CC]     btrfs-search-metadata.o
btrfs-search-metadata.c: In function ‘print_usage’:
btrfs-search-metadata.c:40: error: ‘BTRFS_BUILD_VERSION’ undeclared (first use in this function)
btrfs-search-metadata.c:40: error: (Each undeclared identifier is reported only once
btrfs-search-metadata.c:40: error: for each function it appears in.)
make: *** [btrfs-search-metadata.o] Error 1

btrfs-search-metadata.c:	fprintf(stderr, "%s\n", BTRFS_BUILD_VERSION);

Signed-off-by: Anand Jain <anand.jain@xxxxxxxxxx>
---
 btrfs-search-metadata.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/btrfs-search-metadata.c b/btrfs-search-metadata.c
index 80dc326..34c6f39 100644
--- a/btrfs-search-metadata.c
+++ b/btrfs-search-metadata.c
@@ -37,7 +37,6 @@ static int print_usage(void)
 	fprintf(stderr, "\t-t <tree-id>: search for given tree\n");
 	fprintf(stderr, "\t-l <level>: search for node level (0=leaf)\n");
 	fprintf(stderr, "\t-L: print full listing of matching leaf/node contents\n");
-	fprintf(stderr, "%s\n", BTRFS_BUILD_VERSION);
 	exit(1);
 }
 
-- 
2.0.0.153.g79dcccc

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux