]> git.droids-corp.org - dpdk.git/blobdiff - app/test/test_malloc.c
eal: deprecate rte_snprintf
[dpdk.git] / app / test / test_malloc.c
index bf27effed9cf533a38b964f14715c2de019c774c..081715192e82d9369438f45341f95d85064b93a9 100644 (file)
@@ -486,7 +486,7 @@ test_realloc(void)
                printf("NULL pointer returned from rte_zmalloc\n");
                return -1;
        }
-       rte_snprintf(ptr1, size1, "%s" ,hello_str);
+       snprintf(ptr1, size1, "%s" ,hello_str);
        char *ptr2 = rte_realloc(ptr1, size2, CACHE_LINE_SIZE);
        if (!ptr2){
                rte_free(ptr1);