diff options
author | Marek Olšák <marek.olsak@amd.com> | 2015-08-02 17:08:29 +0200 |
---|---|---|
committer | Marek Olšák <marek.olsak@amd.com> | 2015-08-06 20:44:36 +0200 |
commit | 130a03e360e6aebe93e86b1d522ebf22371aa2d4 (patch) | |
tree | b358cf418b90345982422df30e74860292dda8b9 /src/gallium/auxiliary/hud/hud_context.c | |
parent | 6b47b8978101897cc0dab8f2017e3aa25d31582d (diff) | |
download | external_mesa3d-130a03e360e6aebe93e86b1d522ebf22371aa2d4.zip external_mesa3d-130a03e360e6aebe93e86b1d522ebf22371aa2d4.tar.gz external_mesa3d-130a03e360e6aebe93e86b1d522ebf22371aa2d4.tar.bz2 |
gallium/hud: fix printing byte units
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Diffstat (limited to 'src/gallium/auxiliary/hud/hud_context.c')
-rw-r--r-- | src/gallium/auxiliary/hud/hud_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/hud/hud_context.c b/src/gallium/auxiliary/hud/hud_context.c index e10152e..e0ca29d 100644 --- a/src/gallium/auxiliary/hud/hud_context.c +++ b/src/gallium/auxiliary/hud/hud_context.c @@ -235,7 +235,7 @@ number_to_human_readable(uint64_t num, enum pipe_driver_query_type type, char *out) { static const char *byte_units[] = - {"", " KB", " MB", " GB", " TB", " PB", " EB"}; + {" B", " KB", " MB", " GB", " TB", " PB", " EB"}; static const char *metric_units[] = {"", " k", " M", " G", " T", " P", " E"}; static const char *time_units[] = |