]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lib/strutils: accept not just 'B' but also lowercase 'b' in a size suffix
authorBenno Schulenberg <bensberg@justemail.net>
Sun, 1 Feb 2015 14:00:10 +0000 (15:00 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 2 Feb 2015 09:57:07 +0000 (10:57 +0100)
commit25e3dd1739c9463cea1354ad9ad8401bced16768
treebcd0b63c9c4e69d6c72c12b1bb0f5fad11b9448a
parent2a0ffa311c8ac49847965b834d1e4b06cac3b168
lib/strutils: accept not just 'B' but also lowercase 'b' in a size suffix

Just line 'M' and 'm' are accepted for mega, 'G' and 'g' for giga,
'S' and 's' for sectors, and so on.

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
lib/strutils.c