diff options
author | Michael Brown | 2010-11-27 17:03:51 +0100 |
---|---|---|
committer | Michael Brown | 2010-11-27 17:04:57 +0100 |
commit | 98817e2c38c7f6162496f971190e9589df58f893 (patch) | |
tree | 4d0081df6fdbc32bf6116a6d68f23996f539bddd /src/net/fcoe.c | |
parent | [fc] Allow Fibre Channel ports to be explicitly named (diff) | |
download | ipxe-98817e2c38c7f6162496f971190e9589df58f893.tar.gz ipxe-98817e2c38c7f6162496f971190e9589df58f893.tar.xz ipxe-98817e2c38c7f6162496f971190e9589df58f893.zip |
[fcoe] Tidy up debug message
The increase in length in Fibre Channel device names causes the
"selected FCF" message to wrap beyond 80 characters. Fix by using
abbreviations where possible.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/net/fcoe.c')
-rw-r--r-- | src/net/fcoe.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/net/fcoe.c b/src/net/fcoe.c index 24479ec0..c43fef61 100644 --- a/src/net/fcoe.c +++ b/src/net/fcoe.c @@ -758,14 +758,12 @@ static int fcoe_fip_rx_advertisement ( struct fcoe_port *fcoe, fcoe->flags |= FCOE_FCF_ALLOWS_SPMA; memcpy ( fcoe->fcf_mac, mac_address->mac, sizeof ( fcoe->fcf_mac ) ); - DBGC ( fcoe, "FCoE %s selected FCF %s (priority %d, ", + DBGC ( fcoe, "FCoE %s selected FCF %s (pri %d", fcoe->netdev->name, eth_ntoa ( fcoe->fcf_mac ), fcoe->priority ); if ( fcoe->keepalive ) { - DBGC ( fcoe, "keepalive %dms", + DBGC ( fcoe, ", FKA ADV %dms", fcoe->keepalive ); - } else { - DBGC ( fcoe, "no keepalive" ); } DBGC ( fcoe, ", %cPMA)\n", ( ( fcoe->flags & FCOE_FCF_ALLOWS_SPMA ) ? |