examples/elf/elf_main.c: Fix a printf format warning

This commit is contained in:
YAMAMOTO Takashi 2020-11-11 12:37:56 +09:00 committed by Xiang Xiao
parent 1723a68b0a
commit 5a766cd93b

View File

@ -245,7 +245,7 @@ int main(int argc, FAR char *argv[])
MS_RDONLY, NULL);
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);
}