sys/shell: fix typos

This commit is contained in:
Kaspar Schleiser 2019-10-23 21:16:23 +02:00
parent 84f73274c0
commit 42aad0d1ad

View File

@ -142,7 +142,7 @@ int _read_bytes(int argc, char **argv)
/* calculate sector and offset position */ /* calculate sector and offset position */
sector = (offset / ssize) + 1; sector = (offset / ssize) + 1;
offset = (offset % ssize); offset = (offset % ssize);
/* preapre buffer (size must be a multiple of sector size) */ /* prepare buffer (size must be a multiple of sector size) */
unsigned char read_buf[((length / ssize) + 1) * 512]; unsigned char read_buf[((length / ssize) + 1) * 512];
/* read from several sectors */ /* read from several sectors */