freebsd.py: Fix libc loading. Restores pwd detection.

This commit is contained in:
Thomas Hurst 2015-03-10 21:56:31 +00:00
parent 97ef537851
commit 0b43bb4b44
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ class kinfo_file(Structure):
('kf_sa_peer', sockaddr_storage), ('kf_sa_peer', sockaddr_storage),
] ]
libc = CDLL('libc.so') libc = CDLL('libc.so.7')
uintlen = c_size_t(sizeof(c_uint)) uintlen = c_size_t(sizeof(c_uint))
ver = c_uint(0) ver = c_uint(0)