Minor debug message improvement.
authorMichael Brown <mcb30@etherboot.org>
Mon, 17 Sep 2007 17:57:32 +0000 (18:57 +0100)
committerMichael Brown <mcb30@etherboot.org>
Mon, 17 Sep 2007 17:57:32 +0000 (18:57 +0100)
src/net/netdevice.c

index 460de89..59a5020 100644 (file)
@@ -476,8 +476,9 @@ static void net_step ( struct process *process __unused ) {
                 * NIC faster than they arrive.
                 */
                if ( ( iobuf = netdev_rx_dequeue ( netdev ) ) ) {
-                       DBGC ( netdev, "NETDEV %p processing %p\n",
-                              netdev, iobuf );
+                       DBGC ( netdev, "NETDEV %p processing %p (%p+%zx)\n",
+                              netdev, iobuf, iobuf->data,
+                              iob_len ( iobuf ) );
                        netdev->ll_protocol->rx ( iobuf, netdev );
                }
        }