X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/e8e64a4f1d76aaeac3defa13243505cccd25c078..489fcbc119f6ae46efc8f4077cbb5aa43683e404:/lunaix-os/kernel/proc0.c diff --git a/lunaix-os/kernel/proc0.c b/lunaix-os/kernel/proc0.c index 759db2c..36d8727 100644 --- a/lunaix-os/kernel/proc0.c +++ b/lunaix-os/kernel/proc0.c @@ -119,7 +119,7 @@ void __test_disk_io() { struct hba_port* port = ahci_get_port(0); - char* buffer = vcalloc_dma(port->device->block_size); + char* buffer = vzalloc_dma(port->device->block_size); strcpy(buffer, test_sequence); kprintf("WRITE: %s\n", buffer); int result;