]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[fcoe] Tidy up debug message
authorMichael Brown <mcb30@ipxe.org>
Sat, 27 Nov 2010 16:03:51 +0000 (16:03 +0000)
committerMichael Brown <mcb30@ipxe.org>
Sat, 27 Nov 2010 16:04:57 +0000 (16:04 +0000)
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>
src/net/fcoe.c

index 24479ec0b31c475f527fc012f4eb38dd24419357..c43fef61fc5a80d7f05473de721af7d39bf0d429 100644 (file)
@@ -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 ) ?