am 2a16a584: Merge "fix: making lsof show devies and loaded .so file names correctly"

* commit '2a16a5847a2811626a108f8cbd7606680647df86':
  fix: making lsof show devies and loaded .so file names correctly
This commit is contained in:
Dmitriy Ivanov 2014-03-04 20:10:21 +00:00 committed by Android Git Automerger
commit 508240c379

View file

@ -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"))