Searched hist:da3084db (Results 1 – 2 of 2) sorted by relevance
/dragonfly/bin/df/ |
H A D | df.c | diff da3084db Sat Aug 02 22:56:52 GMT 2008 Sascha Wildner <swildner@dragonflybsd.org> Use humanize_number() from libtool instead of rolling our own version for -h and -H.
As a side effect, this fixes an issue with showing a negative value in the 'Avail' column (for UFS file systems which are using the MINFREE reserve) by casting f_bavail to signed when passing it to prthumanval(), like it was done before already for fstoblk().
f_bavail used to be signed in struct fsstat but is now unsigned in struct vfsstat (in accordance with SUS).
Taken-from: FreeBSD
|
H A D | Makefile | diff da3084db Sat Aug 02 22:56:52 GMT 2008 Sascha Wildner <swildner@dragonflybsd.org> Use humanize_number() from libtool instead of rolling our own version for -h and -H.
As a side effect, this fixes an issue with showing a negative value in the 'Avail' column (for UFS file systems which are using the MINFREE reserve) by casting f_bavail to signed when passing it to prthumanval(), like it was done before already for fstoblk().
f_bavail used to be signed in struct fsstat but is now unsigned in struct vfsstat (in accordance with SUS).
Taken-from: FreeBSD
|