diff options
| author | Michal Frynas <michal.frynas@sonyericsson.com> | 2011-07-14 15:20:05 +0200 |
|---|---|---|
| committer | Kenneth Andersson <kenneth.andersson@sonymobile.com> | 2012-10-02 10:39:19 +0200 |
| commit | 1f90dcd0c022182220c37b300690cf73674d03b8 (patch) | |
| tree | 19cee83dcd34aa80f551d29fd688f87d394195ad /trusty/coverage/coverage_test.cpp | |
| parent | 1c0c52503dcedff1a75775bf8bfffe7ec77b722b (diff) | |
Fixed improper size displaying in 'df' utility
'df' command used to display filesystem usage statistics as integer
values, in most cases rounding the actual value down. Because of
that 'df' tended to display faulty size values.
This fix to 'df' utility calculates the fractional part of the size,
then it rounds it when needed to the nearest one-digit integer value
and displays after decimal dot.
Change-Id: I9bc52635d45d3e55ce61b3b1c6b80d1267516e75
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions
