diff options
-rw-r--r-- | util-linux/fdisk.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/util-linux/fdisk.c b/util-linux/fdisk.c index 8580bec70..eb26abb59 100644 --- a/util-linux/fdisk.c +++ b/util-linux/fdisk.c | |||
@@ -117,8 +117,12 @@ static uint sector_size = DEFAULT_SECTOR_SIZE, | |||
117 | * Raw disk label. For DOS-type partition tables the MBR, | 117 | * Raw disk label. For DOS-type partition tables the MBR, |
118 | * with descriptions of the primary partitions. | 118 | * with descriptions of the primary partitions. |
119 | */ | 119 | */ |
120 | #if (MAX_SECTOR_SIZE) > (BUFSIZ+1) | ||
120 | static char MBRbuffer[MAX_SECTOR_SIZE]; | 121 | static char MBRbuffer[MAX_SECTOR_SIZE]; |
121 | 122 | #else | |
123 | # define MBRbuffer bb_common_bufsiz1 | ||
124 | #endif | ||
125 | |||
122 | #ifdef CONFIG_FEATURE_SUN_LABEL | 126 | #ifdef CONFIG_FEATURE_SUN_LABEL |
123 | static int sun_label; /* looking at sun disklabel */ | 127 | static int sun_label; /* looking at sun disklabel */ |
124 | #else | 128 | #else |