pmap: Don't reopen stdin for reading file
pmap uses freopen to read /proc/self/maps. There doesn't seem to be a good reason to do this and if pmap has its stdin previously closed then it fails. Signed-off-by: Craig Small <csmall@dropbear.xyz>
This commit is contained in:
Reference in New Issue
Block a user