aboutsummaryrefslogtreecommitdiff
path: root/util-linux/fdisk.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/fdisk.c')
-rw-r--r--util-linux/fdisk.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/util-linux/fdisk.c b/util-linux/fdisk.c
index 0a8dbe94c..2933db472 100644
--- a/util-linux/fdisk.c
+++ b/util-linux/fdisk.c
@@ -48,12 +48,12 @@ struct hd_geometry {
48 48
49#define HDIO_GETGEO 0x0301 /* get device geometry */ 49#define HDIO_GETGEO 0x0301 /* get device geometry */
50 50
51static const char msg_building_new_label[] = 51static const char msg_building_new_label[] ALIGN1 =
52"Building a new %s. Changes will remain in memory only,\n" 52"Building a new %s. Changes will remain in memory only,\n"
53"until you decide to write them. After that the previous content\n" 53"until you decide to write them. After that the previous content\n"
54"won't be recoverable.\n\n"; 54"won't be recoverable.\n\n";
55 55
56static const char msg_part_already_defined[] = 56static const char msg_part_already_defined[] ALIGN1 =
57"Partition %d is already defined, delete it before re-adding\n"; 57"Partition %d is already defined, delete it before re-adding\n";
58 58
59 59
@@ -82,11 +82,11 @@ struct partition {
82 unsigned char size4[4]; /* nr of sectors in partition */ 82 unsigned char size4[4]; /* nr of sectors in partition */
83} ATTRIBUTE_PACKED; 83} ATTRIBUTE_PACKED;
84 84
85static const char unable_to_open[] = "cannot open %s"; 85static const char unable_to_open[] ALIGN1 = "cannot open %s";
86static const char unable_to_read[] = "cannot read from %s"; 86static const char unable_to_read[] ALIGN1 = "cannot read from %s";
87static const char unable_to_seek[] = "cannot seek on %s"; 87static const char unable_to_seek[] ALIGN1 = "cannot seek on %s";
88static const char unable_to_write[] = "cannot write to %s"; 88static const char unable_to_write[] ALIGN1 = "cannot write to %s";
89static const char ioctl_error[] = "BLKGETSIZE ioctl failed on %s"; 89static const char ioctl_error[] ALIGN1 = "BLKGETSIZE ioctl failed on %s";
90static void fdisk_fatal(const char *why) ATTRIBUTE_NORETURN; 90static void fdisk_fatal(const char *why) ATTRIBUTE_NORETURN;
91 91
92enum label_type { 92enum label_type {