aboutsummaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
author"Vladimir N. Oleynik" <dzo@simtreas.ru>2005-11-24 12:10:13 +0000
committer"Vladimir N. Oleynik" <dzo@simtreas.ru>2005-11-24 12:10:13 +0000
commit65bb10f253f24be26c50dfdb99398afe6f2834f2 (patch)
treeb3b30139943d48f2cbab32629160065a737c65eb /util-linux
parentfe2571579288d1492a98880e099d8a62797fdc37 (diff)
downloadbusybox-65bb10f253f24be26c50dfdb99398afe6f2834f2.tar.gz
reduce bss
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/fdisk.c6
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,
* Raw disk label. For DOS-type partition tables the MBR,
* with descriptions of the primary partitions.
*/
+#if (MAX_SECTOR_SIZE) > (BUFSIZ+1)
static char MBRbuffer[MAX_SECTOR_SIZE];
-
+#else
+# define MBRbuffer bb_common_bufsiz1
+#endif
+
#ifdef CONFIG_FEATURE_SUN_LABEL
static int sun_label; /* looking at sun disklabel */
#else