From d4e4fdb5ce5ccc067b3d35d877f7a7d978869517 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Mon, 3 Jul 2017 21:31:16 +0200 Subject: fixes for bugs found by make_single_applets.sh Signed-off-by: Denys Vlasenko --- util-linux/fdisk.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'util-linux') diff --git a/util-linux/fdisk.c b/util-linux/fdisk.c index 916d4e3..4467525 100644 --- a/util-linux/fdisk.c +++ b/util-linux/fdisk.c @@ -185,6 +185,8 @@ struct hd_geometry { #define HDIO_GETGEO 0x0301 /* get device geometry */ +/* TODO: #if ENABLE_FEATURE_FDISK_WRITABLE */ +/* (currently fdisk_sun/sgi.c do not have proper WRITABLE #ifs) */ static const char msg_building_new_label[] ALIGN1 = "Building a new %s. Changes will remain in memory only,\n" "until you decide to write them. After that the previous content\n" @@ -192,6 +194,7 @@ static const char msg_building_new_label[] ALIGN1 = static const char msg_part_already_defined[] ALIGN1 = "Partition %u is already defined, delete it before re-adding\n"; +/* #endif */ struct partition { -- cgit v1.1