sys/shell: fix typos
This commit is contained in:
parent
84f73274c0
commit
42aad0d1ad
@ -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 */
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user