Fix some typos in comments

Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
This commit is contained in:
Juha Niskanen
2020-11-08 17:57:30 +02:00
committed by Abdelatif Guettouche
parent 70cbb7e537
commit ca7a7ccbeb
10 changed files with 15 additions and 15 deletions

View File

@@ -156,7 +156,7 @@ const struct mountpt_operations smartfs_operations =
smartfs_unbind, /* unbind */
smartfs_statfs, /* statfs */
smartfs_unlink, /* unlinke */
smartfs_unlink, /* unlink */
smartfs_mkdir, /* mkdir */
smartfs_rmdir, /* rmdir */
smartfs_rename, /* rename */
@@ -592,7 +592,7 @@ static ssize_t smartfs_read(FAR struct file *filep, char *buffer,
sizeof(struct smartfs_chain_header_s));
if (bytestoread + bytesread > buflen)
{
/* Truncate bytesto read based on buffer len */
/* Truncate bytes to read based on buffer len */
bytestoread = buflen - bytesread;
}