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

Collapse All | Expand All

(-)busybox-1.00-rt-mdstart.plasmaroo.orig/libbb/loop.c (-1 / +1 lines)
Lines 129-135 Link Here
129
	struct stat statbuf;
129
	struct stat statbuf;
130
	struct loop_info loopinfo;
130
	struct loop_info loopinfo;
131
131
132
	for (i = 0; i <= 7; i++) {
132
	for (i = 0; i <= 255; i++) {
133
		sprintf(dev, LOOP_FORMAT, i);
133
		sprintf(dev, LOOP_FORMAT, i);
134
		if (stat(dev, &statbuf) == 0 && S_ISBLK(statbuf.st_mode)) {
134
		if (stat(dev, &statbuf) == 0 && S_ISBLK(statbuf.st_mode)) {
135
			if ((fd = open(dev, O_RDONLY)) >= 0) {
135
			if ((fd = open(dev, O_RDONLY)) >= 0) {

Return to bug 116816