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

(-)stand/common/disk.c (+4 lines)
Lines 225-230 Link Here
225
	struct ptable_entry part;
225
	struct ptable_entry part;
226
	int rc, slice, partition;
226
	int rc, slice, partition;
227
227
228
	if (sectorsize == 0) {
229
		DEBUG("unknown sector size");
230
		return (ENXIO);
231
	}
228
	rc = 0;
232
	rc = 0;
229
	od = (struct open_disk *)malloc(sizeof(struct open_disk));
233
	od = (struct open_disk *)malloc(sizeof(struct open_disk));
230
	if (od == NULL) {
234
	if (od == NULL) {

Return to bug 236585