Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
btrfsprogs.356
0064-btrfs-progs-print-B-for-bytes.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0064-btrfs-progs-print-B-for-bytes.patch of Package btrfsprogs.356
From db5d44d132492988cd59d0dddce9ef9260da35fe Mon Sep 17 00:00:00 2001 From: David Sterba <dsterba@suse.cz> Date: Thu, 24 Apr 2014 18:31:28 +0200 Subject: [PATCH 064/303] btrfs-progs: print B for bytes This arguably helps parsers. Signed-off-by: David Sterba <dsterba@suse.cz> --- utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.c b/utils.c index 40b8f1a351a4..803fb89f4635 100644 --- a/utils.c +++ b/utils.c @@ -1294,7 +1294,7 @@ out: return ret; } -static char *size_strs[] = { "", "KiB", "MiB", "GiB", "TiB", "PiB", "EiB"}; +static char *size_strs[] = { "B", "KiB", "MiB", "GiB", "TiB", "PiB", "EiB"}; int pretty_size_snprintf(u64 size, char *str, size_t str_bytes) { int num_divs = 0; -- 2.1.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor