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

Collapse All | Expand All

(-)hal-0.5.7.1.orig/hald/linux2/blockdev.c (-1 / +1 lines)
Lines 493-499 Link Here
493
493
494
	HAL_INFO (("get_luks_uuid: device_file=%s", device_file));
494
	HAL_INFO (("get_luks_uuid: device_file=%s", device_file));
495
495
496
	major = 253; /* FIXME: replace by devmapper constant */
496
	major = 254; /* FIXME: replace by devmapper constant */
497
	last_elem = hal_util_get_last_element (device_file);
497
	last_elem = hal_util_get_last_element (device_file);
498
	if (sscanf (last_elem, "dm-%d", &minor) == 1) {
498
	if (sscanf (last_elem, "dm-%d", &minor) == 1) {
499
		GDir *dir;
499
		GDir *dir;

Return to bug 137831