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

Collapse All | Expand All

(-)xen/tools/symbols2.c (-2 / +2 lines)
Lines 76-87 Link Here
76
	char str[500];
76
	char str[500];
77
	char *sym, stype;
77
	char *sym, stype;
78
	int rc;
78
	int rc;
79
79
	char * fgetsresult;
80
	rc = fscanf(in, "%llx %c %499s\n", &s->addr, &stype, str);
80
	rc = fscanf(in, "%llx %c %499s\n", &s->addr, &stype, str);
81
	if (rc != 3) {
81
	if (rc != 3) {
82
		if (rc != EOF) {
82
		if (rc != EOF) {
83
			/* skip line */
83
			/* skip line */
84
			fgets(str, 500, in);
84
			fgetsresult = fgets(str, 500, in);
85
		}
85
		}
86
		return -1;
86
		return -1;
87
	}
87
	}

Return to bug 257265