rem: printf("compute_cluster_size: Sectors per FAT16 = %d\n", wbpb->bpb.sectors_per_fat);
add: (void) printf("compute_cluster_size: Sectors per " "FAT16 = %d\n", wbpb->bpb.sectors_per_fat);
context: compute_cluster_size(bpb_t *wbpb){	ulong_t volsize, maxclusters;	ulong_t spc, spf;	ulong_t rds, tmpval1, tmpval2;	ulong_t disksz;	ulong_t fatsz;	volsize = wbpb->bpb.sectors_in_volume ? wbpb->bpb.sectors_in_volume :		wbpb->bpb.sectors_in_logical_volume;	volsize -= wbpb->bpb.resv_sectors;	if (GetSPC) {		if (MakeFAT32) {			if (volsize < 0x10428) {				spc = 0; /* too small, trigger an error */			} else if (volsize <= 0x82000) {	/* 260MB */				spc = 1;			} else if (volsize <= 0x1000000) {	/* 8G */				spc = 8;			} else if (volsize <= 0x2000000) {	/* 16G */				spc = 16;			} else if (volsize <= 0x4000000) {	/* 32G */				spc = 32;			} else {				spc = 64;			}		} else {			/* FAT16 Table */			if (volsize <= 0x20D0) {		/* 4.1M */				spc = 0; /* too small, trigger an error */			} else if (volsize <= 0x7FA8) {		/* 16M */				spc = 2;			} else if (volsize <= 0x40000) {	/* 128M */				spc = 4;			} else if (volsize <= 0x80000) {	/* 256M */				spc = 8;			} else if (volsize <= 0x100000) {	/* 512M */				spc = 16;			/* Entries beyond here are only if FAT16 is forced */			} else if (volsize <= 0x200000) {	/* 1G */				spc = 32;			} else if (volsize <= 0x400000) {	/* 2G */				spc = 64;			} else if (volsize <= 0x800000) {	/* 4G */				spc = 128;			} else {				(void) fprintf(stderr, gettext(				    "Partition too large for a FAT!\n"));				exit(4);			}		}	} else {		spc = SecPerClust;	}	/*	 * RootDirSectors = ((BPB_RootEntCnt * 32) +	 *	(BPB_BytsPerSec  1)) / BPB_BytsPerSec;	 */	rds = ((wbpb->bpb.num_root_entries * 32) +		(wbpb->bpb.bytes_sector - 1)) /		wbpb->bpb.bytes_sector;	if (GetBPF) {		if (MakeFAT32)			Fatentsize = 32;		else			Fatentsize = 16;	} else {		Fatentsize = BitsPerFAT;		if (Fatentsize == 12 &&			(volsize - rds) >= DOS_F12MAXC * spc) {			/*			 * 4228473 No way to non-interactively make a			 *	   pcfs filesystem			 *			 *	If we don't have an input TTY, or we aren't			 *	really doing anything, then don't ask			 *	questions.  Assume a yes answer to any			 *	questions we would ask.			 */			if (Notreally || !isatty(fileno(stdin))) {			    (void) printf(				gettext("Volume too large for 12 bit FAT,"				" increasing to 16 bit FAT size.\n"));			    (void) fflush(stdout);			    Fatentsize = 16;			} else {			    (void) printf(				gettext("Volume too large for a 12 bit FAT.\n"					"Increase to 16 bit FAT "					"and continue (y/n)? "));			    (void) fflush(stdout);			    if (yes())				Fatentsize = 16;			    else				exit(5);			}		}	}	wbpb->bpb.sectors_per_cluster = spc;	if (!GetFsParams && FdiskFATsize < 0) {		(void) printf(		    gettext("Cannot verify chosen/computed FAT "			"entry size (%d bits) with FDISK table.\n"			"FDISK table has an unknown file system "			"type for this device.  Giving up...\n"),			Fatentsize, Fatentsize);		exit(6);	} else if (!GetFsParams && FdiskFATsize && FdiskFATsize != Fatentsize) {		(void) printf(		    gettext("Chosen/computed FAT entry size (%d bits) "			"does not match FDISK table (%d bits).\n"),			Fatentsize, FdiskFATsize);		(void) printf(		    gettext("Use -o fat=%d to build a FAT "			"that matches the FDISK entry.\n"), FdiskFATsize);		exit(6);	}	set_fat_string(wbpb, Fatentsize);	/*	 * Compure the FAT sizes according to algorithm from Microsoft:	 *	 * RootDirSectors = ((BPB_RootEntCnt * 32) +	 *	(BPB_BytsPerSec  1)) / BPB_BytsPerSec;	 * TmpVal1 = DskSize - (BPB_ResvdSecCnt + RootDirSectors);	 * TmpVal2 = (256 * BPB_SecPerClus) + BPB_NumFATs;	 * If (FATType == FAT32)	 * 	TmpVal2 = TmpVal2 / 2;	 * FATSz = (TMPVal1 + (TmpVal2  1)) / TmpVal2;	 * If (FATType == FAT32) {	 * 	BPB_FATSz16 = 0;	 *	BPB_FATSz32 = FATSz;	 * } else {	 *	BPB_FATSz16 = LOWORD(FATSz);	 * 	// there is no BPB_FATSz32 in a FAT16 BPB	 * }	 */	tmpval1 = volsize - (wbpb->bpb.resv_sectors + rds);	tmpval2 = (256 * wbpb->bpb.sectors_per_cluster) +		wbpb->bpb.num_fats;	if (Fatentsize == 32)		tmpval2 = tmpval2 / 2;	fatsz = (tmpval1 + (tmpval2 - 1)) / tmpval2;	/* Compute a sector/fat figure */	switch (Fatentsize) {	case 32:		wbpb->bpb.sectors_per_fat = 0;		wbpb->bpb32.big_sectors_per_fat = fatsz;		if (Verbose)		    printf("compute_cluster_size: Sectors per FAT32 = %d\n",				    wbpb->bpb32.big_sectors_per_fat);		break;	case 12:	default:	/* 16 bit FAT */		wbpb->bpb.sectors_per_fat = (ushort_t)(fatsz & 0x0000FFFF);		if (Verbose)		    printf("compute_cluster_size: Sectors per FAT16 = %d\n",			wbpb->bpb.sectors_per_fat);		break;	}}