From: Dmitriy Yakovlev Date: Fri, 15 Apr 2016 22:58:43 +0000 (+0300) Subject: cfgfile: fix return value comment X-Git-Tag: spdx-start~6979 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=182d91f35b9877293ec7e2c40859616e7d085fdb;p=dpdk.git cfgfile: fix return value comment Function rte_cfgfile_load can return NULL value, when something goes wrong. Signed-off-by: Dmitriy Yakovlev Acked-by: Cristian Dumitrescu --- diff --git a/lib/librte_cfgfile/rte_cfgfile.h b/lib/librte_cfgfile/rte_cfgfile.h index 834f82873b..f649836c63 100644 --- a/lib/librte_cfgfile/rte_cfgfile.h +++ b/lib/librte_cfgfile/rte_cfgfile.h @@ -72,7 +72,7 @@ struct rte_cfgfile_entry { * @param flags * Config file flags, Reserved for future use. Must be set to 0. * @return -* Handle to configuration file +* Handle to configuration file on success, NULL otherwise */ struct rte_cfgfile *rte_cfgfile_load(const char *filename, int flags);