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

Collapse All | Expand All

(-)a/src/rc/mountinfo.c (+3 lines)
Lines 275-280 Link Here
275
	struct mntent *ent = NULL;
275
	struct mntent *ent = NULL;
276
	FILE *fp;
276
	FILE *fp;
277
277
278
	if ((access("/etc/fstab", F_OK)) == -1)
279
		return NULL;
280
278
	fp = setmntent("/etc/fstab", "r");
281
	fp = setmntent("/etc/fstab", "r");
279
	while ((ent = getmntent(fp)))
282
	while ((ent = getmntent(fp)))
280
		if (strcmp(file, ent->mnt_dir) == 0)
283
		if (strcmp(file, ent->mnt_dir) == 0)

Return to bug 478226