From 297880faa4ee69765a6372492e2f005e378fb666 Mon Sep 17 00:00:00 2001 From: CleverMouse Date: Wed, 28 Oct 2009 13:09:28 +0000 Subject: [PATCH] small fix in statistics git-svn-id: svn://kolibrios.org@1241 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/branches/net/network/ethernet.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/branches/net/network/ethernet.inc b/kernel/branches/net/network/ethernet.inc index 93bf8c4296..0408b7d012 100644 --- a/kernel/branches/net/network/ethernet.inc +++ b/kernel/branches/net/network/ethernet.inc @@ -477,7 +477,7 @@ ETH_API: .bytes_tx: add eax, ETH_DRV_LIST mov eax, dword [eax] - mov eax, dword [eax + ETH_DEVICE.bytes_tx + 4] + mov ebx, dword [eax + ETH_DEVICE.bytes_tx + 4] mov eax, dword [eax + ETH_DEVICE.bytes_tx] mov [esp+20+4], ebx ; TODO: fix this ugly code ret