diff mbox

Btrfs-progs: make use of column_name

Message ID 1350370847-20262-2-git-send-email-Anand.Jain@oracle.com (mailing list archive)
State New, archived
Headers show

Commit Message

Anand Jain Oct. 16, 2012, 7 a.m. UTC
From: Anand Jain <anand.jain@oracle.com>

Signed-off-by: Anand Jain <anand.jain@oracle.com>
---
 btrfs-list.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/btrfs-list.c b/btrfs-list.c
index 74782b8..9cfdb35 100644
--- a/btrfs-list.c
+++ b/btrfs-list.c
@@ -1432,7 +1432,7 @@  static void print_all_volume_info_tab_head()
 
 	for (i = 0; i < BTRFS_LIST_ALL; i++) {
 		if (btrfs_list_columns[i].need_print)
-			printf("%s\t", btrfs_list_columns[i].name);
+			printf("%s\t", btrfs_list_columns[i].column_name);
 
 		if (i == BTRFS_LIST_ALL-1)
 			printf("\n");
@@ -1442,7 +1442,7 @@  static void print_all_volume_info_tab_head()
 		memset(barrier, 0, sizeof(barrier));
 
 		if (btrfs_list_columns[i].need_print) {
-			len = strlen(btrfs_list_columns[i].name);
+			len = strlen(btrfs_list_columns[i].column_name);
 			while (len--)
 				strcat(barrier, "-");