From c5ea123b9070e9602062afdd4880fb76a66f9c51 Mon Sep 17 00:00:00 2001 From: vodz Date: Thu, 24 Nov 2005 12:10:13 +0000 Subject: reduce bss git-svn-id: svn://busybox.net/trunk/busybox@12509 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- util-linux/fdisk.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-55-g6feb