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

(-)util-linux-2.12i.org/mount/mount.c (-5 / +6 lines)
Lines 1207-1217 Link Here
1207
1207
1208
	mc0 = mtab_head();
1208
	mc0 = mtab_head();
1209
	for (mc = mc0->nxt; mc && mc != mc0; mc = mc->nxt)
1209
	for (mc = mc0->nxt; mc && mc != mc0; mc = mc->nxt)
1210
		if (streq (spec, mc->m.mnt_fsname) &&
1210
		if (spec && mc->m.mnt_fsname && node && mc->m.mnt_dir &&
1211
		    streq (node, mc->m.mnt_dir)) {
1211
				streq (spec, mc->m.mnt_fsname) &&
1212
			ret = 1;
1212
				streq (node, mc->m.mnt_dir)) {
1213
			break;
1213
				ret = 1;
1214
		}
1214
				break;
1215
			}
1215
1216
1216
	free(spec);
1217
	free(spec);
1217
	free(node);
1218
	free(node);

Return to bug 74995