]> git.droids-corp.org - dpdk.git/blobdiff - examples/netmap_compat/lib/compat_netmap.c
eal: deprecate rte_snprintf
[dpdk.git] / examples / netmap_compat / lib / compat_netmap.c
index 190151ed56e9951cb89706ee43e4811e4912ba08..44b3f8e3b6740f6ef30c8adc31cc38d3a1613ed1 100644 (file)
@@ -324,7 +324,7 @@ netmap_regif(struct nmreq *req, uint32_t idx, uint8_t port)
        if (req->nr_ringid != 0)
                return (-EINVAL);
 
-       rte_snprintf(nmif->ni_name, sizeof(nmif->ni_name), "%s", req->nr_name);
+       snprintf(nmif->ni_name, sizeof(nmif->ni_name), "%s", req->nr_name);
        nmif->ni_version  = req->nr_version;
 
        /* Netmap uses ni_(r|t)x_rings + 1 */