break;  default: p_size = -1;			 p_offset = 0;
display_partition(f, lp, mp, i, unit, width)	FILE *f;	struct disklabel *lp;	char **mp;	int i;	char unit;	int width;{	struct partition *pp = &lp->d_partitions[i];	double p_size, p_offset;	if (width == 0)		width = 8;	unit = toupper(unit);	switch (unit) {	case 'B':		p_size = (double)pp->p_size * lp->d_secsize;		p_offset = (double)pp->p_offset * lp->d_secsize;		break;	case 'C':		p_size = (double)pp->p_size / lp->d_secpercyl;		p_offset = (double)pp->p_offset / lp->d_secpercyl;		break;	case 'K':		p_size = (double)pp->p_size / (1024 / lp->d_secsize);		p_offset = (double)pp->p_offset / (1024 / lp->d_secsize);		break;	case 'M':		p_size = (double)pp->p_size / ((1024*1024) / lp->d_secsize);		p_offset = (double)pp->p_offset / ((1024*1024) / lp->d_secsize);		break;	case 'G':		p_size = (double)pp->p_size / ((1024*1024*1024) / lp->d_secsize);		p_offset = (double)pp->p_offset / ((1024*1024*1024) / lp->d_secsize);		break;	default:		p_size = -1;			/* no conversion */		p_offset = 0;		break;	}	if (pp->p_size) {		if (p_size < 0)			fprintf(f, "  %c: %*u %*u  ", 'a' + i,			    width, pp->p_size, width, pp->p_offset);		else			fprintf(f, "  %c: %*.1f%c %*.1f%c  ", 'a' + i,			    width-1, p_size, unit, width-1, p_offset, unit);		if ((unsigned) pp->p_fstype < FSMAXTYPES)			fprintf(f, "%8.8s", fstypenames[pp->p_fstype]);		else			fprintf(f, "%8d", pp->p_fstype);		switch (pp->p_fstype) {		case FS_UNUSED:				/* XXX */			fprintf(f, "    %5d %5d %5.5s ",			    pp->p_fsize, pp->p_fsize * pp->p_frag, "");			break;		case FS_BSDFFS:			fprintf(f, "    %5d %5d %5d ",			    pp->p_fsize, pp->p_fsize * pp->p_frag,			    pp->p_cpg);			break;		default:			fprintf(f, "%22.22s", "");			break;		}		if (mp != NULL) {			if (mp[i] != NULL)				fprintf(f, " # %s", mp[i]);		} else if (lp->d_secpercyl) {			fprintf(f, "\t# (Cyl. %4d",			    pp->p_offset / lp->d_secpercyl);			if (pp->p_offset % lp->d_secpercyl)				putc('*', f);			else				putc(' ', f);			fprintf(f, "- %u",			    (pp->p_offset + 			    pp->p_size + lp->d_secpercyl - 1) /			    lp->d_secpercyl - 1);			if ((pp->p_offset + pp->p_size) % lp->d_secpercyl)				putc('*', f);			putc(')', f);		}		putc('\n', f);	}}