diff --git a/fs/nxffs/nxffs_pack.c b/fs/nxffs/nxffs_pack.c index 4216d412fc..aefff8778b 100644 --- a/fs/nxffs/nxffs_pack.c +++ b/fs/nxffs/nxffs_pack.c @@ -709,7 +709,7 @@ static int nxffs_wrinodehdr(FAR struct nxffs_volume_s *volume, ret = nxffs_updateinode(volume, &pack->dest.entry); if (ret < 0) { - ferr("ERROR: Failed to update inode info: %s\n", -ret); + ferr("ERROR: Failed to update inode info: %d\n", -ret); } }