diff --git a/fs/nxffs/nxffs_ioctl.c b/fs/nxffs/nxffs_ioctl.c index c4e84fcf36d..77d4c0c4a58 100644 --- a/fs/nxffs/nxffs_ioctl.c +++ b/fs/nxffs/nxffs_ioctl.c @@ -70,7 +70,7 @@ int nxffs_ioctl(FAR struct file *filep, int cmd, unsigned long arg) ret = nxmutex_lock(&volume->lock); if (ret < 0) { - ferr("ERROR: nxsem_wait failed: %d\n", ret); + ferr("ERROR: nxmutex_lock failed: %d\n", ret); goto errout; } diff --git a/fs/nxffs/nxffs_open.c b/fs/nxffs/nxffs_open.c index 6b8d77ecce7..ce609d8cc32 100644 --- a/fs/nxffs/nxffs_open.c +++ b/fs/nxffs/nxffs_open.c @@ -690,7 +690,7 @@ static inline int nxffs_rdopen(FAR struct nxffs_volume_s *volume, ret = nxmutex_lock(&volume->lock); if (ret != OK) { - ferr("ERROR: nxsem_wait failed: %d\n", ret); + ferr("ERROR: nxmutex_lock failed: %d\n", ret); goto errout; } @@ -1134,7 +1134,7 @@ int nxffs_close(FAR struct file *filep) ret = nxmutex_lock(&volume->lock); if (ret != OK) { - ferr("ERROR: nxsem_wait failed: %d\n", ret); + ferr("ERROR: nxmutex_lock failed: %d\n", ret); goto errout; } diff --git a/fs/nxffs/nxffs_read.c b/fs/nxffs/nxffs_read.c index 4a7639aa4d1..6275978a856 100644 --- a/fs/nxffs/nxffs_read.c +++ b/fs/nxffs/nxffs_read.c @@ -160,7 +160,7 @@ ssize_t nxffs_read(FAR struct file *filep, FAR char *buffer, size_t buflen) ret = nxmutex_lock(&volume->lock); if (ret < 0) { - ferr("ERROR: nxsem_wait failed: %d\n", ret); + ferr("ERROR: nxmutex_lock failed: %d\n", ret); goto errout; } diff --git a/fs/nxffs/nxffs_stat.c b/fs/nxffs/nxffs_stat.c index a5a382bfe35..d6cce51b52d 100644 --- a/fs/nxffs/nxffs_stat.c +++ b/fs/nxffs/nxffs_stat.c @@ -201,7 +201,7 @@ int nxffs_fstat(FAR const struct file *filep, FAR struct stat *buf) ret = nxmutex_lock(&volume->lock); if (ret != OK) { - ferr("ERROR: nxsem_wait failed: %d\n", ret); + ferr("ERROR: nxmutex_lock failed: %d\n", ret); return ret; } diff --git a/fs/nxffs/nxffs_truncate.c b/fs/nxffs/nxffs_truncate.c index 98f5339539b..65b9ba5c522 100644 --- a/fs/nxffs/nxffs_truncate.c +++ b/fs/nxffs/nxffs_truncate.c @@ -75,7 +75,7 @@ int nxffs_truncate(FAR struct file *filep, off_t length) ret = nxmutex_lock(&volume->lock); if (ret < 0) { - ferr("ERROR: nxsem_wait failed: %d\n", ret); + ferr("ERROR: nxmutex_lock failed: %d\n", ret); goto errout; } diff --git a/fs/nxffs/nxffs_write.c b/fs/nxffs/nxffs_write.c index 14f9cc0d51b..35d2c42d80b 100644 --- a/fs/nxffs/nxffs_write.c +++ b/fs/nxffs/nxffs_write.c @@ -537,7 +537,7 @@ ssize_t nxffs_write(FAR struct file *filep, FAR const char *buffer, ret = nxmutex_lock(&volume->lock); if (ret < 0) { - ferr("ERROR: nxsem_wait failed: %d\n", ret); + ferr("ERROR: nxmutex_lock failed: %d\n", ret); goto errout; }