aboutsummaryrefslogtreecommitdiffstats
path: root/libfdisk/src/sun.c
diff options
context:
space:
mode:
Diffstat (limited to 'libfdisk/src/sun.c')
-rw-r--r--libfdisk/src/sun.c18
1 files changed, 8 insertions, 10 deletions
diff --git a/libfdisk/src/sun.c b/libfdisk/src/sun.c
index 50bdf8668a..a4af4761b6 100644
--- a/libfdisk/src/sun.c
+++ b/libfdisk/src/sun.c
@@ -12,8 +12,6 @@
#include <unistd.h> /* write */
#include <sys/ioctl.h> /* ioctl */
-#include <libsmartcols.h>
-
#include "nls.h"
#include "blkdev.h"
#include "bitops.h"
@@ -998,14 +996,14 @@ static int sun_partition_is_used(
static const struct fdisk_column sun_columns[] =
{
{ FDISK_COL_DEVICE, N_("Device"), 10, 0 },
- { 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_TYPEID, N_("Id"), 2, SCOLS_FL_RIGHT },
- { FDISK_COL_TYPE, N_("Type"), 0.1, SCOLS_FL_TRUNC },
- { FDISK_COL_ATTR, N_("Flags"), 0, SCOLS_FL_RIGHT }
+ { FDISK_COL_START, N_("Start"), 5, FDISK_COLFL_NUMBER },
+ { FDISK_COL_END, N_("End"), 5, FDISK_COLFL_NUMBER },
+ { FDISK_COL_SECTORS, N_("Sectors"), 5, FDISK_COLFL_NUMBER },
+ { FDISK_COL_CYLINDERS, N_("Cylinders"), 5, FDISK_COLFL_NUMBER },
+ { FDISK_COL_SIZE, N_("Size"), 5, FDISK_COLFL_NUMBER },
+ { FDISK_COL_TYPEID, N_("Id"), 2, FDISK_COLFL_NUMBER },
+ { FDISK_COL_TYPE, N_("Type"), 0.1, 0 },
+ { FDISK_COL_ATTR, N_("Flags"), 0, FDISK_COLFL_NUMBER }
};
const struct fdisk_label_operations sun_operations =