]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lib/strutils: parse_size() fix frac with zeros
authorKarel Zak <kzak@redhat.com>
Mon, 13 May 2019 14:15:58 +0000 (16:15 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 13 May 2019 14:15:58 +0000 (16:15 +0200)
commit482e0a07544501ece40314d045b4c70ba9546295
tree6ffd874b2464ba9a82619c578a7384613de5be61
parent5fcdf204b033297486e221a80a7f3c0a30734ceb
lib/strutils: parse_size() fix frac with zeros

Fix 0.001G as well as accept 0.000G as valid number.

Signed-off-by: Karel Zak <kzak@redhat.com>
lib/strutils.c