usr/lib/byobu/swap: update to address fix in fpdiv

This commit is contained in:
Scott Moser 2011-05-25 14:59:43 -04:00
commit b791342142
2 changed files with 2 additions and 1 deletions

1
debian/changelog vendored
View file

@ -6,6 +6,7 @@ byobu (4.3) unreleased; urgency=low
[ Scott Moser ]
* usr/lib/byobu/.shutil: fix rounding across a decimal point in fpdiv()
* usr/lib/byobu/swap: update to address fix in fpdiv
-- Dustin Kirkland <kirkland@ubuntu.com> Mon, 23 May 2011 19:21:36 -0500

View file

@ -49,7 +49,7 @@ swap_info() {
unit="GB"
elif [ $mem -ge 1024 ]; then
fpdiv "${mem}" 1024 0
mem=${_RET%.}
mem=${_RET}
unit="MB"
else
mem="$mem"