]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_cmdline/cmdline_parse_num.c
eal: deprecate rte_snprintf
[dpdk.git] / lib / librte_cmdline / cmdline_parse_num.c
index 832310d68e507c00ae661d859f80608b3d19d192..0b9e4d0dc38c08c0a655a3392322c02e8f3582ba 100644 (file)
@@ -358,7 +358,7 @@ cmdline_get_help_num(cmdline_parse_token_hdr_t *tk, char *dstbuf, unsigned int s
        /* if (nd.type >= (sizeof(num_help)/sizeof(const char *))) */
        /* return -1; */
 
-       ret = rte_snprintf(dstbuf, size, "%s", num_help[nd.type]);
+       ret = snprintf(dstbuf, size, "%s", num_help[nd.type]);
        if (ret < 0)
                return -1;
        dstbuf[size-1] = '\0';