summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Brandt <michael.brandt@stericsson.com>2011-02-09 16:13:05 +0100
committerMichael BRANDT <michael.brandt@stericsson.com>2011-02-10 13:24:02 +0100
commit990d00f8b9802a5692175279072c21d28d162618 (patch)
tree42cd99912959ea49b69b1d59b2e43e47c95be690
parentb165b6d89e45961d08a32a9476b81b6d888b566c (diff)
Fix confusing "Sub TOC entry not found" messages
MCDE: Sub TOC entry not found toc_load_toc_entry: get_entry_info_toc failed mcde_display_image: no splash image found. ready The splash code searches for the SPLASH entry. If it is not found in the normal TOC, the TOC code in disk/part_toc.c tries the sub TOC entries. The sub TOC code then issues the "Sub TOC entry not found" message. It should be up to the caller to interpret it as error and to print an appropriate error message. Therefore this patch change it into a debug() message. Change-Id: Ie2f566b0f7b8f4ff6a950ec05743b573c58626e7 Signed-off-by: Michael Brandt <michael.brandt@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/14828 Reviewed-by: QATOOLS Reviewed-by: Joakim AXELSSON <joakim.axelsson@stericsson.com> Reviewed-by: Markus HELGESSON <markus.helgesson@stericsson.com>
-rw-r--r--disk/part_toc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/disk/part_toc.c b/disk/part_toc.c
index d6e0b78c1..82bb1bc95 100644
--- a/disk/part_toc.c
+++ b/disk/part_toc.c
@@ -98,7 +98,7 @@ static toc_entry_t *toc_get_subtoc_entry_num(block_dev_desc_t *dev_desc,
*/
return &subtoc->cache[num % TOC_MAX_ENTRIES];
- printf("Sub TOC entry not found\n");
+ debug("toc_get_subtoc_entry_num: Sub TOC entry not found\n");
return NULL;
}
@@ -138,7 +138,7 @@ static toc_entry_t *toc_get_subtoc_entry_id(block_dev_desc_t *dev_desc,
}
}
- printf("Sub TOC entry not found\n");
+ debug("toc_get_subtoc_entry_id: Sub TOC entry not found\n");
return NULL;
}