diff options
author | Tony MÃ¥nsson <tony.mansson@linaro.org> | 2011-05-19 13:11:49 +0200 |
---|---|---|
committer | Mats Bergstrom <mats.m.bergstrom@stericsson.com> | 2011-10-06 12:46:34 +0200 |
commit | 8bb56ccce2179e04a6e652ebc425ef70eb526f61 (patch) | |
tree | 82f9f041f6de567685bc3a028de68715a7b149d8 /fs | |
parent | 446d8193c1b3752bff199d5eba4aaf367d95e9fd (diff) |
Fix for Snowball
Diffstat (limited to 'fs')
-rw-r--r-- | fs/fat/fat.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/fs/fat/fat.c b/fs/fat/fat.c index 086f3a6a5..91d554384 100644 --- a/fs/fat/fat.c +++ b/fs/fat/fat.c @@ -170,6 +170,7 @@ fat_register_device(block_dev_desc_t *dev_desc, int part_no) #if defined(CONFIG_ROCKBOX_FAT) cur_block_dev.cur_part = part_no; cur_block_dev.part_offset=info.start; + printf("Partition info retrieved\n"); #else part_offset = info.start; cur_part = part_no; @@ -211,8 +212,10 @@ fat_register_device(block_dev_desc_t *dev_desc, int part_no) * purpose the libpart must be included. */ #if defined(CONFIG_ROCKBOX_FAT) - cur_block_dev.cur_part = 1; + cur_block_dev.cur_part = 1; cur_block_dev.part_offset = 32; + cur_block_dev.part_offset=info.start; + } #else part_offset = 32; cur_part = 1; |