Explorar el Código

Minor debug message improvement.

tags/v0.9.3
Michael Brown hace 17 años
padre
commit
387a1a8556
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  1. 3
    2
      src/net/netdevice.c

+ 3
- 2
src/net/netdevice.c Ver fichero

@@ -476,8 +476,9 @@ static void net_step ( struct process *process __unused ) {
476 476
 		 * NIC faster than they arrive.
477 477
 		 */
478 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 482
 			netdev->ll_protocol->rx ( iobuf, netdev );
482 483
 		}
483 484
 	}

Loading…
Cancelar
Guardar