X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fip_pipeline%2Fcpu_core_map.c;h=cb088b1cdfefaeff5ff38b8262dc14ba4b293aa2;hb=3cd654213b24e79b731ec975bca2c839aba5f54a;hp=2a91f31a15cec07c328b8040762eaec1f5b83a21;hpb=c7985de0a7f0769d6e4e112b18314aceecf2642c;p=dpdk.git diff --git a/examples/ip_pipeline/cpu_core_map.c b/examples/ip_pipeline/cpu_core_map.c index 2a91f31a15..cb088b1cdf 100644 --- a/examples/ip_pipeline/cpu_core_map.c +++ b/examples/ip_pipeline/cpu_core_map.c @@ -276,7 +276,7 @@ cpu_core_map_get_n_lcores_linux(void) if (string == NULL) return -1; - return (atoi(++string) + 1); + return atoi(++string) + 1; } #define FILE_LINUX_CPU_CORE_ID \