diff --git a/include/nuttx/binfmt/binfmt.h b/include/nuttx/binfmt/binfmt.h index 56ee574453..8ee4b161bc 100644 --- a/include/nuttx/binfmt/binfmt.h +++ b/include/nuttx/binfmt/binfmt.h @@ -99,7 +99,7 @@ struct binary_s FAR const char *filename; /* Full path to the binary to be loaded (See NOTE 1 above) */ #if defined(CONFIG_ARCH_ADDRENV) && defined(CONFIG_BUILD_KERNEL) FAR char *argbuffer; /* Allocated argument list */ - FAR char *argv[CONFIG_MAX_TASK_ARGS+1]; /* Copy of argument list */ + FAR char **argv; /* Copy of argument list */ #else FAR char * const *argv; /* Argument list */ #endif