debuggers.hg
changeset 4596:80011c06c033
bitkeeper revision 1.1316 (4264261frL-EQxwgFFde16WtF01B4g)
trivial from Dave Jones
trivial from Dave Jones
author | iap10@freefall.cl.cam.ac.uk |
---|---|
date | Mon Apr 18 21:26:55 2005 +0000 (2005-04-18) |
parents | 4b759824a678 |
children | a1f760a94785 |
files | tools/ioemu/iodev/eth_linux.cc |
line diff
1.1 --- a/tools/ioemu/iodev/eth_linux.cc Mon Apr 18 21:10:54 2005 +0000 1.2 +++ b/tools/ioemu/iodev/eth_linux.cc Mon Apr 18 21:26:55 2005 +0000 1.3 @@ -212,7 +212,7 @@ bx_linux_pktmover_c::bx_linux_pktmover_c 1.4 this->filter[3].k = (macaddr[0] & 0xff) << 8 | (macaddr[1] & 0xff); 1.5 fp.len = BX_LSF_ICNT; 1.6 fp.filter = this->filter; 1.7 - BX_INFO(("eth_linux: fp.len=%d fp.filter=%x", fp.len, (unsigned long) fp.filter)); 1.8 + BX_INFO(("eth_linux: fp.len=%d fp.filter=%lx", fp.len, (unsigned long) fp.filter)); 1.9 if (setsockopt(this->fd, SOL_SOCKET, SO_ATTACH_FILTER, &fp, sizeof(fp)) < 0) { 1.10 BX_PANIC(("eth_linux: could not set socket filter: %s", strerror(errno))); 1.11 close(this->fd);