summaryrefslogtreecommitdiff
path: root/apps/nshlib/nsh_romfsetc.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/nshlib/nsh_romfsetc.c')
-rw-r--r--apps/nshlib/nsh_romfsetc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/nshlib/nsh_romfsetc.c b/apps/nshlib/nsh_romfsetc.c
index 184709111..d97e6591a 100644
--- a/apps/nshlib/nsh_romfsetc.c
+++ b/apps/nshlib/nsh_romfsetc.c
@@ -113,7 +113,7 @@ int nsh_romfsetc(void)
ret = mount(MOUNT_DEVNAME, CONFIG_NSH_ROMFSMOUNTPT, "romfs", MS_RDONLY, NULL);
if (ret < 0)
{
- dbg("nsh: mount(%s,%s,romfs) failed: %s\n",
+ dbg("nsh: mount(%s,%s,romfs) failed: %d\n",
MOUNT_DEVNAME, CONFIG_NSH_ROMFSMOUNTPT, errno);
return ERROR;
}