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

(-)procps-3.2.4/proc/slab.c (-1 / +5 lines)
Lines 169-174 Link Here
169
	return 0;
169
	return 0;
170
}
170
}
171
171
172
#define parse_slabinfo21 parse_slabinfo20
173
172
/*
174
/*
173
 * parse_slabinfo11 - actual parsing routine for slabinfo 1.1 (2.4 kernels)
175
 * parse_slabinfo11 - actual parsing routine for slabinfo 1.1 (2.4 kernels)
174
 */
176
 */
Lines 295-301 Link Here
295
		return 1;
297
		return 1;
296
	}
298
	}
297
299
298
	if (major == 2 && minor == 0)
300
	if (major == 2 && minor == 1)
301
		ret = parse_slabinfo21(list, stats, slabfile);
302
	else if (major == 2 && minor == 0)
299
		ret = parse_slabinfo20(list, stats, slabfile);
303
		ret = parse_slabinfo20(list, stats, slabfile);
300
	else if (major == 1 && minor == 1)
304
	else if (major == 1 && minor == 1)
301
		ret = parse_slabinfo11(list, stats, slabfile);
305
		ret = parse_slabinfo11(list, stats, slabfile);

Return to bug 77301