Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 231972 | Differences between
and this patch

Collapse All | Expand All

(-)lib/blkid/devname.c.old (-1 / +2 lines)
Lines 96-102 Link Here
96
			dev2 = list_entry(p, struct blkid_struct_dev, bid_devs);
96
			dev2 = list_entry(p, struct blkid_struct_dev, bid_devs);
97
			if (dev2->bid_flags & BLKID_BID_FL_VERIFIED)
97
			if (dev2->bid_flags & BLKID_BID_FL_VERIFIED)
98
				continue;
98
				continue;
99
			if (strcmp(dev->bid_type, dev2->bid_type))
99
			if (dev->bid_type && dev2->bid_type &&
100
			    strcmp(dev->bid_type, dev2->bid_type))
100
				continue;
101
				continue;
101
			if (dev->bid_label && dev2->bid_label &&
102
			if (dev->bid_label && dev2->bid_label &&
102
			    strcmp(dev->bid_label, dev2->bid_label))
103
			    strcmp(dev->bid_label, dev2->bid_label))

Return to bug 231972