examples/elf/elf_main.c: Fix a printf format warning
This commit is contained in:
parent
1723a68b0a
commit
5a766cd93b
@ -245,7 +245,7 @@ int main(int argc, FAR char *argv[])
|
|||||||
MS_RDONLY, NULL);
|
MS_RDONLY, NULL);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
{
|
{
|
||||||
errmsg("ERROR: mount(%s,%s,romfs) failed: %s\n",
|
errmsg("ERROR: mount(%s,%s,romfs) failed: %d\n",
|
||||||
CONFIG_EXAMPLES_ELF_DEVPATH, MOUNTPT, errno);
|
CONFIG_EXAMPLES_ELF_DEVPATH, MOUNTPT, errno);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user