aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/net/rtl8139.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/net/rtl8139.c')
-rw-r--r--src/kernel/net/rtl8139.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/net/rtl8139.c b/src/kernel/net/rtl8139.c
index fce2062..0c69025 100644
--- a/src/kernel/net/rtl8139.c
+++ b/src/kernel/net/rtl8139.c
@@ -73,7 +73,7 @@ int rtl8139_init(void)
}
// Set receive buffer
- rtl_rx_buffer = (u8 *)kmalloc(8192 + 16);
+ rtl_rx_buffer = (u8 *)malloc(8192 + 16);
outl((u16)(rtl_iobase + 0x30), (u32)rtl_rx_buffer);
// Enable ISR