summaryrefslogtreecommitdiffstats
path: root/libfdisk/src/bsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'libfdisk/src/bsd.c')
-rw-r--r--libfdisk/src/bsd.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/libfdisk/src/bsd.c b/libfdisk/src/bsd.c
index 4ece79fb2..a81afd2c3 100644
--- a/libfdisk/src/bsd.c
+++ b/libfdisk/src/bsd.c
@@ -15,6 +15,7 @@
#include <fcntl.h>
#include <errno.h>
#include <sys/param.h>
+#include <libsmartcols.h>
#include "nls.h"
#include "blkdev.h"
@@ -879,15 +880,15 @@ static const struct fdisk_label_operations bsd_operations =
static const struct fdisk_column bsd_columns[] =
{
{ FDISK_COL_DEVICE, N_("Slice"), 1, 0 },
- { FDISK_COL_START, N_("Start"), 5, TT_FL_RIGHT },
- { FDISK_COL_END, N_("End"), 5, TT_FL_RIGHT },
- { FDISK_COL_SECTORS, N_("Sectors"), 5, TT_FL_RIGHT },
- { FDISK_COL_CYLINDERS, N_("Cylinders"), 5, TT_FL_RIGHT },
- { FDISK_COL_SIZE, N_("Size"), 5, TT_FL_RIGHT },
+ { FDISK_COL_START, N_("Start"), 5, SCOLS_FL_RIGHT },
+ { FDISK_COL_END, N_("End"), 5, SCOLS_FL_RIGHT },
+ { FDISK_COL_SECTORS, N_("Sectors"), 5, SCOLS_FL_RIGHT },
+ { FDISK_COL_CYLINDERS, N_("Cylinders"), 5, SCOLS_FL_RIGHT },
+ { FDISK_COL_SIZE, N_("Size"), 5, SCOLS_FL_RIGHT },
{ FDISK_COL_TYPE, N_("Type"), 8, 0 },
- { FDISK_COL_FSIZE, N_("Fsize"), 5, TT_FL_RIGHT },
- { FDISK_COL_BSIZE, N_("Bsize"), 5, TT_FL_RIGHT },
- { FDISK_COL_CPG, N_("Cpg"), 5, TT_FL_RIGHT }
+ { FDISK_COL_FSIZE, N_("Fsize"), 5, SCOLS_FL_RIGHT },
+ { FDISK_COL_BSIZE, N_("Bsize"), 5, SCOLS_FL_RIGHT },
+ { FDISK_COL_CPG, N_("Cpg"), 5, SCOLS_FL_RIGHT }
};
/*