]> git.codecow.com Git - Monocypher.git/commitdiff
cosmetic
authorLoup Vaillant <loup@loup-vaillant.fr>
Thu, 20 Jul 2017 12:55:01 +0000 (14:55 +0200)
committerLoup Vaillant <loup@loup-vaillant.fr>
Thu, 20 Jul 2017 12:55:01 +0000 (14:55 +0200)
tests/speed.c

index f280167acb07fcafe3215d36609e15bc17458439..c3902c0f2b61da08f03de89506f7e97d36ada65b 100644 (file)
@@ -71,10 +71,10 @@ static void print(const char *name, speed_t result, const char *lib_name)
     if (result.ratio == 100) {
         printf("As fast as %s\n", lib_name);
     } else if (result.ratio <  100) {
-        printf("%3d%% slower than %s\n", 100 - result.ratio, lib_name);
+        printf("%4d%% slower than %s\n", 100 - result.ratio, lib_name);
     }
     else {
-        printf("%3d%% faster than %s\n", result.ratio - 100, lib_name);
+        printf("%4d%% faster than %s\n", result.ratio - 100, lib_name);
     }
 }