diff options
author | Dmitriy Ivanov <dimitry@google.com> | 2014-03-04 20:16:46 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-03-04 20:16:46 +0000 |
commit | fbbc85ea8e2f0142e03a7e50c3f106a0a76d6c0b (patch) | |
tree | b4362dcd00e5251d73faa0c1626594cf76f8f8e0 /toolbox | |
parent | da56648374473c88e8aa29a09ad4bb63feb6783b (diff) | |
parent | 6bb6372b3ee930e2e8517262ec7db4f057a50725 (diff) | |
download | system_core-fbbc85ea8e2f0142e03a7e50c3f106a0a76d6c0b.zip system_core-fbbc85ea8e2f0142e03a7e50c3f106a0a76d6c0b.tar.gz system_core-fbbc85ea8e2f0142e03a7e50c3f106a0a76d6c0b.tar.bz2 |
am 6bb6372b: am 508240c3: am 2a16a584: Merge "fix: making lsof show devies and loaded .so file names correctly"
* commit '6bb6372b3ee930e2e8517262ec7db4f057a50725':
fix: making lsof show devies and loaded .so file names correctly
Diffstat (limited to 'toolbox')
-rw-r--r-- | toolbox/lsof.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolbox/lsof.c b/toolbox/lsof.c index 113c120..af321af 100644 --- a/toolbox/lsof.c +++ b/toolbox/lsof.c @@ -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")) |