mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 23:40:19 +08:00
fs/nxffs/nxffs_unlink.c: Fix syslog formats
This commit is contained in:
committed by
Xiang Xiao
parent
c9d8570040
commit
5bead4aa37
@@ -41,6 +41,7 @@
|
|||||||
|
|
||||||
#include <nuttx/config.h>
|
#include <nuttx/config.h>
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
@@ -111,8 +112,8 @@ int nxffs_rminode(FAR struct nxffs_volume_s *volume, FAR const char *name)
|
|||||||
ret = nxffs_rdcache(volume, volume->ioblock);
|
ret = nxffs_rdcache(volume, volume->ioblock);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
{
|
{
|
||||||
ferr("ERROR: Failed to read block %d into cache: %d\n",
|
ferr("ERROR: Failed to read block %jd into cache: %d\n",
|
||||||
volume->ioblock, ret);
|
(intmax_t)volume->ioblock, ret);
|
||||||
goto errout_with_entry;
|
goto errout_with_entry;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -126,8 +127,8 @@ int nxffs_rminode(FAR struct nxffs_volume_s *volume, FAR const char *name)
|
|||||||
ret = nxffs_wrcache(volume);
|
ret = nxffs_wrcache(volume);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
{
|
{
|
||||||
ferr("ERROR: Failed to write block %d: %d\n",
|
ferr("ERROR: Failed to write block %jd: %d\n",
|
||||||
volume->ioblock, ret);
|
(intmax_t)volume->ioblock, ret);
|
||||||
}
|
}
|
||||||
|
|
||||||
errout_with_entry:
|
errout_with_entry:
|
||||||
|
|||||||
Reference in New Issue
Block a user