netutils/ftpc/ftpc_getfile.c: Fix a syslog format

This commit is contained in:
YAMAMOTO Takashi 2020-11-25 07:28:20 +09:00 committed by Xiang Xiao
parent f83caca9ac
commit 7b3ccfa9da

View File

@ -265,7 +265,7 @@ int ftpc_getfile(SESSION handle, FAR const char *rname,
abslpath = ftpc_abslpath(session, lname); abslpath = ftpc_abslpath(session, lname);
if (!abslpath) if (!abslpath)
{ {
nwarn("WARNING: ftpc_abslpath(%s) failed: %d\n", errno); nwarn("WARNING: ftpc_abslpath(%s) failed: %d\n", lname, errno);
goto errout; goto errout;
} }