From 65bb10f253f24be26c50dfdb99398afe6f2834f2 Mon Sep 17 00:00:00 2001 From: "\"Vladimir N. Oleynik\"" Date: Thu, 24 Nov 2005 12:10:13 +0000 Subject: reduce bss --- 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