From 5a766cd93ba9193b173dc1b5eb138cdd436eb71b Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Wed, 11 Nov 2020 12:37:56 +0900 Subject: [PATCH] examples/elf/elf_main.c: Fix a printf format warning --- examples/elf/elf_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/elf/elf_main.c b/examples/elf/elf_main.c index b35308b21..d72d5a9a8 100644 --- a/examples/elf/elf_main.c +++ b/examples/elf/elf_main.c @@ -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); }