aboutsummaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2020-12-29 16:53:11 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2020-12-29 16:53:11 +0100
commit77a51a2709de1b646ab493f0bf771d896de6efc2 (patch)
treed0e44b91d8391ca06d4de3f7d5101da76c4f940e /util-linux
parentc7ef8187688b0e7f92d19b3fed2c4ecffe39a688 (diff)
downloadbusybox-w32-77a51a2709de1b646ab493f0bf771d896de6efc2.tar.gz
busybox-w32-77a51a2709de1b646ab493f0bf771d896de6efc2.tar.bz2
busybox-w32-77a51a2709de1b646ab493f0bf771d896de6efc2.zip
randomconfig fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/fdisk.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/util-linux/fdisk.c b/util-linux/fdisk.c
index 6454baab8..c50ceead1 100644
--- a/util-linux/fdisk.c
+++ b/util-linux/fdisk.c
@@ -185,8 +185,11 @@ struct hd_geometry {
185 185
186#define HDIO_GETGEO 0x0301 /* get device geometry */ 186#define HDIO_GETGEO 0x0301 /* get device geometry */
187 187
188/* TODO: #if ENABLE_FEATURE_FDISK_WRITABLE */ 188/* TODO: just #if ENABLE_FEATURE_FDISK_WRITABLE */
189/* (currently fdisk_sun/sgi.c do not have proper WRITABLE #ifs) */ 189/* (currently fdisk_sun/sgi.c do not have proper WRITABLE #ifs) */
190#if ENABLE_FEATURE_FDISK_WRITABLE \
191 || ENABLE_FEATURE_SGI_LABEL \
192 || ENABLE_FEATURE_SUN_LABEL
190static const char msg_building_new_label[] ALIGN1 = 193static const char msg_building_new_label[] ALIGN1 =
191"Building a new %s. Changes will remain in memory only,\n" 194"Building a new %s. Changes will remain in memory only,\n"
192"until you decide to write them. After that the previous content\n" 195"until you decide to write them. After that the previous content\n"
@@ -194,7 +197,7 @@ static const char msg_building_new_label[] ALIGN1 =
194 197
195static const char msg_part_already_defined[] ALIGN1 = 198static const char msg_part_already_defined[] ALIGN1 =
196"Partition %u is already defined, delete it before re-adding\n"; 199"Partition %u is already defined, delete it before re-adding\n";
197/* #endif */ 200#endif
198 201
199 202
200struct partition { 203struct partition {