Permalink
Browse files

vtllib: set partition to 0 in resp_read_position_long

Set partition to 0 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 7929956 commit ef229b7464e9751fe3bc6a7fd7ed84760de36af2 Sebastian Herbszt committed with Mar 19, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 usr/vtllib.c
View
2 usr/vtllib.c
@@ -246,7 +246,7 @@ If this fails to compile - sizeof MAM != 1024 bytes !
*/
int resp_read_position_long(loff_t pos, uint8_t *buf, uint8_t *sam_stat)
{
- uint32_t partition = 1;
+ uint32_t partition = 0;
MHVTL_DBG(1, "Position %ld", (long)pos);

0 comments on commit ef229b7

Please sign in to comment.