app/test: fix build with icc
authorMichael Qiu <michael.qiu@intel.com>
Thu, 26 Nov 2015 07:21:32 +0000 (15:21 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 26 Nov 2015 21:28:46 +0000 (22:28 +0100)
app/test/test_cryptodev_perf.c(1837): error #192: unrecognized
character escape sequence
printf("\n%u\t%u\t\%u\t\t%u\t\t%u", dev_num, 0,

"\%u" is the root cause of this issue, just fix it.

Fixes: 202d375c60bc ("app/test: add cryptodev unit and performance tests")

Signed-off-by: Michael Qiu <michael.qiu@intel.com>
app/test/test_cryptodev_perf.c

index f0cca8b..1744e13 100644 (file)
@@ -1834,7 +1834,7 @@ test_perf_crypto_qp_vary_burst_size(uint16_t dev_num)
                                num_received += burst_received;
                }
 
-               printf("\n%u\t%u\t\%u\t\t%u\t\t%u", dev_num, 0,
+               printf("\n%u\t%u\t%u\t\t%u\t\t%u", dev_num, 0,
                                        num_sent, num_received, burst_size);
                printf("\t\t%"PRIu64, retries);
                printf("\t\t\t%"PRIu64, total_cycles/num_received);