View | Details | Raw Unified | Return to bug 273966 | Differences between
and this patch

Collapse All | Expand All

(-)b/lib/libprocstat/core.c (-1 / +1 lines)
Lines 119-125 procstat_core_open(const char *filename) Link Here
119
		warnx("%s is not a CORE file", filename);
119
		warnx("%s is not a CORE file", filename);
120
		goto fail;
120
		goto fail;
121
	}
121
	}
122
	if (elf_getphnum(e, &nph) == 0) {
122
	if (elf_getphdrnum(e, &nph) == 0) {
123
		warnx("program headers not found");
123
		warnx("program headers not found");
124
		goto fail;
124
		goto fail;
125
	}
125
	}

Return to bug 273966