Browse Source

Minor debug message improvement.

tags/v0.9.3
Michael Brown 17 years ago
parent
commit
387a1a8556
1 changed files with 3 additions and 2 deletions
  1. 3
    2
      src/net/netdevice.c

+ 3
- 2
src/net/netdevice.c View File

476
 		 * NIC faster than they arrive.
476
 		 * NIC faster than they arrive.
477
 		 */
477
 		 */
478
 		if ( ( iobuf = netdev_rx_dequeue ( netdev ) ) ) {
478
 		if ( ( iobuf = netdev_rx_dequeue ( netdev ) ) ) {
479
-			DBGC ( netdev, "NETDEV %p processing %p\n",
480
-			       netdev, iobuf );
479
+			DBGC ( netdev, "NETDEV %p processing %p (%p+%zx)\n",
480
+			       netdev, iobuf, iobuf->data,
481
+			       iob_len ( iobuf ) );
481
 			netdev->ll_protocol->rx ( iobuf, netdev );
482
 			netdev->ll_protocol->rx ( iobuf, netdev );
482
 		}
483
 		}
483
 	}
484
 	}

Loading…
Cancel
Save