mirror of
https://github.com/apache/nuttx.git
synced 2026-05-24 16:11:56 +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 <stdint.h>
|
||||
#include <string.h>
|
||||
#include <errno.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);
|
||||
if (ret < 0)
|
||||
{
|
||||
ferr("ERROR: Failed to read block %d into cache: %d\n",
|
||||
volume->ioblock, ret);
|
||||
ferr("ERROR: Failed to read block %jd into cache: %d\n",
|
||||
(intmax_t)volume->ioblock, ret);
|
||||
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);
|
||||
if (ret < 0)
|
||||
{
|
||||
ferr("ERROR: Failed to write block %d: %d\n",
|
||||
volume->ioblock, ret);
|
||||
ferr("ERROR: Failed to write block %jd: %d\n",
|
||||
(intmax_t)volume->ioblock, ret);
|
||||
}
|
||||
|
||||
errout_with_entry:
|
||||
|
||||
Reference in New Issue
Block a user