* commit '508240c3798799e5d177d03604798f38366a4a4a': fix: making lsof show devies and loaded .so file names correctly
This commit is contained in:
commit
6bb6372b3e
1 changed files with 1 additions and 1 deletions
|
|
@ -113,7 +113,7 @@ static void print_maps(struct pid_info_t* info)
|
|||
if (!maps)
|
||||
goto out;
|
||||
|
||||
while (fscanf(maps, "%*x-%*x %*s %zx %5s %ld %s\n", &offset, device, &inode,
|
||||
while (fscanf(maps, "%*x-%*x %*s %zx %s %ld %s\n", &offset, device, &inode,
|
||||
file) == 4) {
|
||||
// We don't care about non-file maps
|
||||
if (inode == 0 || !strcmp(device, "00:00"))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue