Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 301667
Collapse All | Expand All

(-)a/extras/firmware/firmware.c (-1 / +2 lines)
Lines 149-154 int main(int argc, char **argv) Link Here
149
	util_path_encode(firmware, fwencpath, sizeof(fwencpath));
149
	util_path_encode(firmware, fwencpath, sizeof(fwencpath));
150
	util_strscpyl(misspath, sizeof(misspath), udev_get_dev_path(udev), "/.udev/firmware-missing/", fwencpath, NULL);
150
	util_strscpyl(misspath, sizeof(misspath), udev_get_dev_path(udev), "/.udev/firmware-missing/", fwencpath, NULL);
151
	util_strscpyl(loadpath, sizeof(loadpath), udev_get_sys_path(udev), devpath, "/loading", NULL);
151
	if (fwfile == NULL) {
152
	if (fwfile == NULL) {
152
		int err;
153
		int err;
Lines 166-171 int main(int argc, char **argv) Link Here
166
			udev_selinux_resetfscreatecon(udev);
167
			udev_selinux_resetfscreatecon(udev);
167
		} while (err == -ENOENT);
168
		} while (err == -ENOENT);
168
		rc = 2;
169
		rc = 2;
170
		set_loading(udev, loadpath, "-1");
169
		goto exit;
171
		goto exit;
170
	}
172
	}
Lines 176-182 int main(int argc, char **argv) Link Here
176
	if (unlink(misspath) == 0)
178
	if (unlink(misspath) == 0)
177
		util_delete_path(udev, misspath);
179
		util_delete_path(udev, misspath);
178
	util_strscpyl(loadpath, sizeof(loadpath), udev_get_sys_path(udev), devpath, "/loading", NULL);
179
	set_loading(udev, loadpath, "1");
180
	set_loading(udev, loadpath, "1");
180
	util_strscpyl(datapath, sizeof(datapath), udev_get_sys_path(udev), devpath, "/data", NULL);
181
	util_strscpyl(datapath, sizeof(datapath), udev_get_sys_path(udev), devpath, "/data", NULL);

Return to bug 301667