Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Process: Fix PID & UID column widths off-by-one error
If the max PID or UID value for a platform is exactly a power of ten (10000, 100000, etc.) the column widths of PID and UID would be 1 char less than the correct number of digits. This is caused by the wrong rounding function (ceil(x)); change to the correct one (trunc(x) + 1). Signed-off-by: Kang-Che Sung <[email protected]>
- Loading branch information