Module: Mesa Branch: master Commit: 130a03e360e6aebe93e86b1d522ebf22371aa2d4 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=130a03e360e6aebe93e86b1d522ebf22371aa2d4
Author: Marek Olšák <[email protected]> Date: Sun Aug 2 17:08:29 2015 +0200 gallium/hud: fix printing byte units Reviewed-by: Samuel Pitoiset <[email protected]> Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> --- src/gallium/auxiliary/hud/hud_context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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[] = _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
