mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-24 08:47:06 +00:00
Change debug messages to use 1-based GPT partition numbers.
BUG=none TEST=none Change-Id: Ib717f1008edbb6c11d73fbe42d533ebe45800a45 Reviewed-on: http://gerrit.chromium.org/gerrit/7410 Reviewed-by: Randall Spangler <rspangler@chromium.org> Tested-by: Bill Richardson <wfrichar@chromium.org>
This commit is contained in:
@@ -44,7 +44,7 @@ int GptNextKernelEntry(GptData* gpt, uint64_t* start_sector, uint64_t* size) {
|
||||
e = entries + i;
|
||||
if (!IsKernelEntry(e))
|
||||
continue;
|
||||
VBDEBUG(("GptNextKernelEntry looking at same prio partition %d\n", i));
|
||||
VBDEBUG(("GptNextKernelEntry looking at same prio partition %d\n", i+1));
|
||||
VBDEBUG(("GptNextKernelEntry s%d t%d p%d\n",
|
||||
GetEntrySuccessful(e), GetEntryTries(e), GetEntryPriority(e)));
|
||||
if (!(GetEntrySuccessful(e) || GetEntryTries(e)))
|
||||
@@ -65,7 +65,7 @@ int GptNextKernelEntry(GptData* gpt, uint64_t* start_sector, uint64_t* size) {
|
||||
int current_prio = GetEntryPriority(e);
|
||||
if (!IsKernelEntry(e))
|
||||
continue;
|
||||
VBDEBUG(("GptNextKernelEntry looking at new prio partition %d\n", i));
|
||||
VBDEBUG(("GptNextKernelEntry looking at new prio partition %d\n", i+1));
|
||||
VBDEBUG(("GptNextKernelEntry s%d t%d p%d\n",
|
||||
GetEntrySuccessful(e), GetEntryTries(e), GetEntryPriority(e)));
|
||||
if (!(GetEntrySuccessful(e) || GetEntryTries(e)))
|
||||
|
||||
Reference in New Issue
Block a user