netutils/ftpc/ftpc_getfile.c: Fix a syslog format
This commit is contained in:
parent
f83caca9ac
commit
7b3ccfa9da
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user