diff --git a/hermit/drivers/net/mmnif.c b/hermit/drivers/net/mmnif.c index a4c6ea331..4e4c6a4d8 100644 --- a/hermit/drivers/net/mmnif.c +++ b/hermit/drivers/net/mmnif.c @@ -594,7 +594,7 @@ err_t mmnif_init(struct netif *netif) err = vma_add((size_t)header_start_address, (size_t)header_start_address + ((nodes * header_size) >> PAGE_BITS), VMA_READ|VMA_WRITE|VMA_CACHEABLE); if (BUILTIN_EXPECT(err, 0)) { - DEBUGPRINTF("mmnif init(): vma_add failed\n"); + DEBUGPRINTF("mmnif init(): vma_add failed for header_start_address %p\n", header_start_address); goto out; } @@ -616,7 +616,7 @@ err_t mmnif_init(struct netif *netif) err = vma_add((size_t)heap_start_address, (size_t)heap_start_address + ((nodes * heap_size) >> PAGE_BITS), VMA_READ|VMA_WRITE|VMA_CACHEABLE); if (BUILTIN_EXPECT(!heap_start_address, 0)) { - DEBUGPRINTF("mmnif init(): vma_alloc failed\n"); + DEBUGPRINTF("mmnif init(): vma_add failed for heap_start_address %p\n", heap_start_address); goto out; }