diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2022-08-07 21:52:47 -0400 |
---|---|---|
committer | Suren Baghdasaryan <surenb@google.com> | 2023-05-28 18:28:21 +0000 |
commit | b3ca97815aece6e2bebdbf5d944c875b3804cc18 (patch) | |
tree | 24eaaa2d59c39cd493186f3a02f962bc0160a2f8 /net/lapb/lapb_in.c | |
parent | 7877cb91f1081754a1487c144d85dc0d2e2e7fc4 (diff) |
lib/string_helpers: Drop space in string_get_size's output
Previously, string_get_size() outputted a space between the number and
the units, i.e.
9.88 MiB
This changes it to
9.88MiB
which allows it to be parsed correctly by the 'sort -h' command.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Cc: Andy Shevchenko <andy@kernel.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Jason Wang <jasowang@redhat.com>
Cc: "Noralf Trønnes" <noralf@tronnes.org>
Cc: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions