Merge branch 'master' into dev

dev
fengbojiang(姜凤波) 2019-07-26 17:37:02 +08:00
commit 86a4dcb0fe
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ parse_lcore_mask(struct ff_config *cfg, const char *coremask)
if ((1 << j) & val) {
proc_lcore[count] = idx;
if (cfg->dpdk.proc_id == count) {
sprintf(buf, "%x", 1<<idx);
sprintf(buf, "%llx", (unsigned long long)1<<idx);
cfg->dpdk.proc_mask = strdup(buf);
}
count++;