View | Details | Raw Unified | Return to bug 246986
Collapse All | Expand All

(-)stand/common/disk.c (-1 / +3 lines)
Lines 282-288 Link Here
282
	od->mediasize = mediasize;
282
	od->mediasize = mediasize;
283
283
284
	if (ptable_gettype(od->table) == PTABLE_BSD &&
284
	if (ptable_gettype(od->table) == PTABLE_BSD &&
285
	    partition >= 0) {
285
	    (partition >= 0 || partition == D_PARTWILD)) {
286
		if (partition == D_PARTWILD)
287
			partition ^= partition;
286
		/* It doesn't matter what value has d_slice */
288
		/* It doesn't matter what value has d_slice */
287
		rc = ptable_getpart(od->table, &part, partition);
289
		rc = ptable_getpart(od->table, &part, partition);
288
		if (rc == 0) {
290
		if (rc == 0) {

Return to bug 246986