OSDN Git Service

e1000: Fix spelling (segmentaion -> segmentation) in debug output
authorStefan Weil <sw@weilnetz.de>
Wed, 18 Apr 2012 05:28:34 +0000 (07:28 +0200)
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Fri, 20 Apr 2012 12:20:54 +0000 (13:20 +0100)
This was reported by https://bugs.launchpad.net/qemu/+bug/984476.

I also changed the case for 'error'.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
hw/e1000.c

index 7babc0b..9c76462 100644 (file)
@@ -481,7 +481,7 @@ process_tx_desc(E1000State *s, struct e1000_tx_desc *dp)
         } while (split_size -= bytes);
     } else if (!tp->tse && tp->cptse) {
         // context descriptor TSE is not set, while data descriptor TSE is set
-        DBGOUT(TXERR, "TCP segmentaion Error\n");
+        DBGOUT(TXERR, "TCP segmentation error\n");
     } else {
         split_size = MIN(sizeof(tp->data) - tp->size, split_size);
         pci_dma_read(&s->dev, addr, tp->data + tp->size, split_size);