cnping

Minimal Graphical Ping Tool
git clone https://git.sinitax.com/cnlohr/cnping
Log | Files | Refs | Submodules | README | LICENSE | sfeed.txt

commit 86cd3ff40943f69ff1a7a8387630a74f1c37532d
parent a0be8cd2d26f5226feec1f8a51363af11e841b45
Author: cnlohr <lohr85@gmail.com>
Date:   Sun, 27 Nov 2016 14:48:24 -0500

Fix formatting and needed %% instead of %

Diffstat:
Mcnping.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cnping.c b/cnping.c @@ -213,7 +213,7 @@ void DrawFrame( void ) sptr += sprintf( sptr, "Max : %5.2f ms\n", maxtime ); sptr += sprintf( sptr, "Avg : %5.2f ms\n", avg ); sptr += sprintf( sptr, "Std : %5.2f ms\n", stddev ); - sptr += sprintf( sptr, "Loss: %5.2f %\n", loss ); + sptr += sprintf( sptr, "Loss: %5.1f %%\n", loss ); CNFGColor( 0x00 ); for( x = -1; x < 2; x++ ) for( y = -1; y < 2; y++ ) {