X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=alloc.c;fp=alloc.c;h=349da9f24e6dbc85101f99fcc3645ff8077f1c51;hb=8e0034665aa8483b27191c723608575536d01303;hp=373fbdcc4176543087f50c1336cf30ee380ea543;hpb=054761502f884ae2cb147c75bd17a660fe63b071;p=debian%2Felilo diff --git a/alloc.c b/alloc.c index 373fbdc..349da9f 100644 --- a/alloc.c +++ b/alloc.c @@ -129,7 +129,7 @@ alloc_pages(UINTN pgcnt, EFI_MEMORY_TYPE type, EFI_ALLOCATE_TYPE where, VOID *ad status = BS->AllocatePages(where, type , pgcnt, &tmp); if (EFI_ERROR(status)) { - ERR_PRT((L"allocator: AllocatePages(%d, %d, %d, 0x%lx) failed (%r)\n", where, type, pgcnt, tmp, status)); + VERB_PRT(1, (L"allocator: AllocatePages(%d, %d, %d, 0x%lx) failed (%r)\n", where, type, pgcnt, tmp, status)); return NULL; } /* XXX: will cause warning on IA-32 */ @@ -155,7 +155,7 @@ free(VOID *addr) if (p->addr == addr) goto found; } /* not found */ - ERR_PRT((L"allocator: invalid free @ 0x%lx\n", addr)); + VERB_PRT(1, (L"allocator: invalid free @ 0x%lx\n", addr)); return; found: DBG_PRT((L"free: %s @0x%lx size=%ld\n",