style: remove extra spaces and align parameters

Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
Petro Karashchenko
2023-06-10 20:24:08 +03:00
committed by Xiang Xiao
parent 187def2611
commit 1b801a5bbc
6 changed files with 16 additions and 16 deletions
+4 -4
View File
@@ -262,8 +262,8 @@ static int elf_loadbinary(FAR struct binary_s *binp,
{
if (nexports > 0)
{
berr("Cannot bind exported symbols to a "\
"fully linked executable\n");
berr("Cannot bind exported symbols to a "
"fully linked executable\n");
ret = -ENOEXEC;
goto errout_with_load;
}
@@ -275,8 +275,8 @@ static int elf_loadbinary(FAR struct binary_s *binp,
else
{
berr("Unexpected elf type %d\n", loadinfo.ehdr.e_type);
ret = -ENOEXEC;
berr("Unexpected elf type %d\n", loadinfo.ehdr.e_type);
ret = -ENOEXEC;
}
/* Return the load information */
+2 -2
View File
@@ -41,7 +41,7 @@
static const char g_elfmagic[EI_MAGIC_SIZE] =
{
0x7f, 'E', 'L', 'F'
0x7f, 'E', 'L', 'F'
};
/****************************************************************************
@@ -92,7 +92,7 @@ int elf_verifyheader(FAR const Elf_Ehdr *ehdr)
if ((ehdr->e_type != ET_REL) && (ehdr->e_type != ET_EXEC))
{
berr("Not a relocatable or executable file: e_type=%d\n",
ehdr->e_type);
ehdr->e_type);
return -EINVAL;
}