diff --git a/binfmt/binfmt_execsymtab.c b/binfmt/binfmt_execsymtab.c index 52484e3778..47eb7a5a54 100644 --- a/binfmt/binfmt_execsymtab.c +++ b/binfmt/binfmt_execsymtab.c @@ -63,8 +63,8 @@ /* Number of Symbols in the Table */ -# ifndef CONFIG_EXECFUNCS_NSYBOLS_VAR -# error "CONFIG_EXECFUNCS_NSYBOLS_VAR must be defined" +# ifndef CONFIG_EXECFUNCS_NSYMBOLS_VAR +# error "CONFIG_EXECFUNCS_NSYMBOLS_VAR must be defined" # endif #endif @@ -74,7 +74,7 @@ #ifdef CONFIG_EXECFUNCS_HAVE_SYMTAB extern const struct symtab_s CONFIG_EXECFUNCS_SYMTAB_ARRAY[]; -extern int CONFIG_EXECFUNCS_NSYBOLS_VAR; +extern int CONFIG_EXECFUNCS_NSYMBOLS_VAR; #endif /**************************************************************************** @@ -83,7 +83,7 @@ extern int CONFIG_EXECFUNCS_NSYBOLS_VAR; #ifdef CONFIG_EXECFUNCS_HAVE_SYMTAB static FAR const struct symtab_s *g_exec_symtab = CONFIG_EXECFUNCS_SYMTAB_ARRAY; -static int g_exec_nsymbols = CONFIG_EXECFUNCS_NSYBOLS_VAR; +static int g_exec_nsymbols = CONFIG_EXECFUNCS_NSYMBOLS_VAR; #else static FAR const struct symtab_s *g_exec_symtab; static int g_exec_nsymbols;