]> git.droids-corp.org - dpdk.git/blobdiff - app/test/test_cmdline_etheraddr.c
eal: fix usage of printf-like functions
[dpdk.git] / app / test / test_cmdline_etheraddr.c
index c67a0a51fca5b13ea699a9c3f8e94808536da161..739f2498dd23e0762b0ca9658107685fac7e3d3b 100644 (file)
@@ -147,7 +147,7 @@ test_parse_etheraddr_invalid_param(void)
 
        /* copy string to buffer */
        rte_snprintf(buf, sizeof(buf), "%s",
-                       ether_addr_valid_strs[0]);
+                       ether_addr_valid_strs[0].str);
 
        ret = cmdline_parse_etheraddr(NULL, buf, NULL);
        if (ret == -1) {