FreeBSD Bugzilla – Attachment 245052 Details for
Bug 273966
libprocstat: use elf_getphdrnum() rather than deprecated elf_getphnum()
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
[patch] use non-deprecated elf_getphdrnum() rather than elf_getphnum()
pr-libprocstat-use-elf_getphdrnum.diff (text/plain), 472 bytes, created by
John Hein
on 2023-09-20 13:26:35 UTC
(
hide
)
Description:
[patch] use non-deprecated elf_getphdrnum() rather than elf_getphnum()
Filename:
MIME Type:
Creator:
John Hein
Created:
2023-09-20 13:26:35 UTC
Size:
472 bytes
patch
obsolete
>https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273966 > >diff --git a/lib/libprocstat/core.c b/lib/libprocstat/core.c >index dea078c848eb..cc9c9e3b2e97 100644 >--- a/lib/libprocstat/core.c >+++ b/lib/libprocstat/core.c >@@ -119,7 +119,7 @@ procstat_core_open(const char *filename) > warnx("%s is not a CORE file", filename); > goto fail; > } >- if (elf_getphnum(e, &nph) == 0) { >+ if (elf_getphdrnum(e, &nph) == 0) { > warnx("program headers not found"); > goto fail; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 273966
:
245052
|
245056
|
245102