summaryrefslogtreecommitdiffstats
path: root/toolbox
diff options
context:
space:
mode:
authorDmitriy Ivanov <dimitry@google.com>2014-03-04 20:16:46 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-03-04 20:16:46 +0000
commitfbbc85ea8e2f0142e03a7e50c3f106a0a76d6c0b (patch)
treeb4362dcd00e5251d73faa0c1626594cf76f8f8e0 /toolbox
parentda56648374473c88e8aa29a09ad4bb63feb6783b (diff)
parent6bb6372b3ee930e2e8517262ec7db4f057a50725 (diff)
downloadsystem_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.c2
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"))