[dpdk-dev] app/test: Fix compile issue with icc

Message ID 1448522492-16239-1-git-send-email-michael.qiu@intel.com (mailing list archive)
State Accepted, archived
Headers

Commit Message

Michael Qiu Nov. 26, 2015, 7:21 a.m. UTC
  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.

Signed-off-by: Michael Qiu <michael.qiu@intel.com>
---
 app/test/test_cryptodev_perf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Thomas Monjalon Nov. 26, 2015, 9:16 p.m. UTC | #1
2015-11-26 15:21, Michael Qiu:
> 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.
> 
> Signed-off-by: Michael Qiu <michael.qiu@intel.com>

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

Applied, thanks
  

Patch

diff --git a/app/test/test_cryptodev_perf.c b/app/test/test_cryptodev_perf.c
index f0cca8b..1744e13 100644
--- a/app/test/test_cryptodev_perf.c
+++ b/app/test/test_cryptodev_perf.c
@@ -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);