diff --git a/fs/nxffs/nxffs_open.c b/fs/nxffs/nxffs_open.c index 80b1e1efef9..b060ebc9bc1 100644 --- a/fs/nxffs/nxffs_open.c +++ b/fs/nxffs/nxffs_open.c @@ -469,7 +469,7 @@ static inline int nxffs_wropen(FAR struct nxffs_volume_s *volume, else { ferr("ERROR: File %s exists and we were not asked to " - "truncate it\n"); + "truncate it\n", name); ret = -ENOSYS; goto errout_with_exclsem; }