From a02c1ae1ea46a2360d6bf1b4787b85db7a3a09b2 Mon Sep 17 00:00:00 2001 From: maruncz Date: Sun, 13 Sep 2020 10:01:27 +0200 Subject: [PATCH] fix benchmark output formatting --- tools/benchmark.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/benchmark.c b/tools/benchmark.c index 4a43c41..32eb4bc 100644 --- a/tools/benchmark.c +++ b/tools/benchmark.c @@ -114,7 +114,7 @@ static void run_transop_benchmark(const char *op_name, n2n_trans_op_t *op_fn, n2 ssize_t tdiff = 0; // microseconds size_t num_packets = 0; - printf("Run %s[%s] for %us (%u bytes): ", perform_decryption ? "enc/dec" : "enc", + printf("Run %s[%s] for %us (%u bytes):", perform_decryption ? "enc/dec" : "enc", op_name, target_sec, (unsigned int)sizeof(PKT_CONTENT)); fflush(stdout);