small fix in statistics

git-svn-id: svn://kolibrios.org@1241 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
CleverMouse 2009-10-28 13:09:28 +00:00
parent 6e1bd03300
commit 297880faa4

View File

@ -477,7 +477,7 @@ ETH_API:
.bytes_tx: .bytes_tx:
add eax, ETH_DRV_LIST add eax, ETH_DRV_LIST
mov eax, dword [eax] 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 eax, dword [eax + ETH_DEVICE.bytes_tx]
mov [esp+20+4], ebx ; TODO: fix this ugly code mov [esp+20+4], ebx ; TODO: fix this ugly code
ret ret