]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_pmd_i40e/i40e_ethdev.c
eal: fix usage of printf-like functions
[dpdk.git] / lib / librte_pmd_i40e / i40e_ethdev.c
index 6bc3998e1fa270eec0c35a7c49b283298eef537d..ade92ecb6dcf242936264507fe9ca27e654350d9 100644 (file)
@@ -1517,7 +1517,7 @@ i40e_allocate_dma_mem_d(__attribute__((unused)) struct i40e_hw *hw,
                return I40E_ERR_PARAM;
 
        id++;
-       rte_snprintf(z_name, sizeof(z_name), "i40e_dma_%lu", id);
+       rte_snprintf(z_name, sizeof(z_name), "i40e_dma_%"PRIu64, id);
        mz = rte_memzone_reserve_aligned(z_name, size, 0, 0, alignment);
        if (!mz)
                return I40E_ERR_NO_MEMORY;