Browse files

vtllib: fix spelling in resp_read_position_long

Fix spelling in resp_read_position_long.

Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
Signed-off-by: Mark Harvey <markh794@gmail.com>
  • Loading branch information...
1 parent 85b3d6e commit 09dd951e10d4265c07cdae58c9e119e40a9f724c Sebastian Herbszt committed with Apr 2, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 usr/vtllib.c
View
6 usr/vtllib.c
@@ -238,10 +238,10 @@ If this fails to compile - sizeof MAM != 1024 bytes !
* - The number of logical blocks between the beginning of the
* - partition and the current logical position.
* [16 - 23] Logical Field Identifier
- * - Number of Filemarks between the beginning of the partiion and
+ * - Number of Filemarks between the beginning of the partition and
* - the logical position.
* [24 - 31] Logical Set Identifier
- * - Number of Setmarks between the beginning of the partiion and
+ * - Number of Setmarks between the beginning of the partition and
* - the logical position.
*/
int resp_read_position_long(loff_t pos, uint8_t *buf, uint8_t *sam_stat)
@@ -253,7 +253,7 @@ int resp_read_position_long(loff_t pos, uint8_t *buf, uint8_t *sam_stat)
memset(buf, 0, READ_POSITION_LONG_LEN); /* Clear 'array' */
if ((pos == 0) || (pos == 1))
- buf[0] = 0x80; /* Begining of Partition */
+ buf[0] = 0x80; /* Beginning of Partition */
buf[0] |= 0x04; /* Set LONU bit valid */
/* FIXME: Need to update EOP & BPEW bits too */

0 comments on commit 09dd951

Please sign in to comment.