You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2020/11/25 02:44:35 UTC
[incubator-nuttx-apps] 02/07: netutils/ftpc/ftpc_getfile.c: Fix a
syslog format
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git
commit 7b3ccfa9daa4d61adc05abb9a141089e92b73593
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Wed Nov 25 07:28:20 2020 +0900
netutils/ftpc/ftpc_getfile.c: Fix a syslog format
---
netutils/ftpc/ftpc_getfile.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/netutils/ftpc/ftpc_getfile.c b/netutils/ftpc/ftpc_getfile.c
index fb5a895..dd2ca62 100644
--- a/netutils/ftpc/ftpc_getfile.c
+++ b/netutils/ftpc/ftpc_getfile.c
@@ -265,7 +265,7 @@ int ftpc_getfile(SESSION handle, FAR const char *rname,
abslpath = ftpc_abslpath(session, lname);
if (!abslpath)
{
- nwarn("WARNING: ftpc_abslpath(%s) failed: %d\n", errno);
+ nwarn("WARNING: ftpc_abslpath(%s) failed: %d\n", lname, errno);
goto errout;
}