| commit | 1f90dcd0c022182220c37b300690cf73674d03b8 | [log] [tgz] |
|---|---|---|
| author | Michal Frynas <michal.frynas@sonyericsson.com> | Thu Jul 14 15:20:05 2011 +0200 |
| committer | Kenneth Andersson <kenneth.andersson@sonymobile.com> | Tue Oct 02 10:39:19 2012 +0200 |
| tree | 19cee83dcd34aa80f551d29fd688f87d394195ad | |
| 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