This is an automated email from the ASF dual-hosted git repository. acassis pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 266b341d61286898c3bb5edc01c7699b8e8dbf21 Author: Marco Casaroli <[email protected]> AuthorDate: Sun Oct 11 11:43:26 2026 +0200 libs/libc/elf: Fix the nxstyle errors in elf_init.c. Add the blank lines after declarations. No code change. Assisted-by: Claude Code:claude-opus-5-5 Signed-off-by: Marco Casaroli <[email protected]> --- libs/libc/elf/elf_init.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/libc/elf/elf_init.c b/libs/libc/elf/elf_init.c index 1845b9c14fd..8493c367dd1 100644 --- a/libs/libc/elf/elf_init.c +++ b/libs/libc/elf/elf_init.c @@ -66,6 +66,7 @@ static inline int libelf_fileinfo(FAR struct mod_loadinfo_s *loadinfo) if (ret < 0) { int errval = _NX_GETERRNO(ret); + berr("ERROR: Failed to stat file: %d\n", errval); return -errval; } @@ -113,6 +114,7 @@ int libelf_initialize(FAR const char *filename, if (loadinfo->filfd < 0) { int errval = _NX_GETERRNO(loadinfo->filfd); + berr("ERROR: Failed to open ELF binary %s: %d\n", filename, errval); return -errval; }
