Loading toolbox/lsof.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -113,7 +113,7 @@ static void print_maps(struct pid_info_t* info) if (!maps) if (!maps) goto out; 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) { file) == 4) { // We don't care about non-file maps // We don't care about non-file maps if (inode == 0 || !strcmp(device, "00:00")) if (inode == 0 || !strcmp(device, "00:00")) Loading Loading
toolbox/lsof.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -113,7 +113,7 @@ static void print_maps(struct pid_info_t* info) if (!maps) if (!maps) goto out; 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) { file) == 4) { // We don't care about non-file maps // We don't care about non-file maps if (inode == 0 || !strcmp(device, "00:00")) if (inode == 0 || !strcmp(device, "00:00")) Loading