diff options
author | Dan Mick <dan.mick@inktank.com> | 2013-09-30 22:00:01 -0700 |
---|---|---|
committer | Dan Mick <dan.mick@inktank.com> | 2013-09-30 22:04:54 -0700 |
commit | 5821a09bf723e1b82f0fce2e78f78e0b088353ed (patch) | |
tree | baefcdff8da1b09ed67c8bfe350ca36202b92554 /src/common/util.cc | |
parent | 56711370c3a7dfce683f73f1f4b7b5ccd66cbeb5 (diff) | |
download | ceph-wip-4612.tar.gz |
Use 'k' when printing 'kilo'; accept either 'K' or 'k' as inputwip-4612
Fixes: #4612
Signed-off-by: Dan Mick <dan.mick@inktank.com>
Diffstat (limited to 'src/common/util.cc')
-rw-r--r-- | src/common/util.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/util.cc b/src/common/util.cc index 6da37e88833..ab417befef6 100644 --- a/src/common/util.cc +++ b/src/common/util.cc @@ -58,6 +58,7 @@ int64_t unit_to_bytesize(string val, ostream *pss) switch (c) { case 'B': break; + case 'k': case 'K': modifier = 10; break; |