X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Flibrte_eal%2Fcommon%2Finclude%2Frte_option.h;h=eea95e477b83878c7c33f3b61a89f6cd0ce31989;hb=42f6dbda0975bccc5344621215c183b45277480b;hp=bbcc6cec9eb1255023cd6726d620bbf9abcf27db;hpb=b8fe14b7cf81d9019b2b4851c8f84e5a64b9a41f;p=dpdk.git diff --git a/lib/librte_eal/common/include/rte_option.h b/lib/librte_eal/common/include/rte_option.h index bbcc6cec9e..eea95e477b 100644 --- a/lib/librte_eal/common/include/rte_option.h +++ b/lib/librte_eal/common/include/rte_option.h @@ -34,7 +34,7 @@ typedef int (*rte_option_cb)(void); */ struct rte_option { TAILQ_ENTRY(rte_option) next; /**< Next entry in the list. */ - char *opt_str; /**< The option name. */ + const char *name; /**< The option name. */ const char *usage; /**< Option summary string. */ rte_option_cb cb; /**< Function called when option is used. */ int enabled; /**< Set when the option is used. */