Fix typo in stats_print_record
authorDaniel Wagner <daniel.wagner@bmw-carit.de>
Thu, 23 Sep 2010 14:42:00 +0000 (16:42 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 23 Sep 2010 14:42:25 +0000 (23:42 +0900)
tools/stats-ringbuffer-dump.c

index b1bd713..9c50abd 100644 (file)
@@ -118,7 +118,7 @@ static void stats_print_record(struct stats_record *rec)
        printf("%p %s %d %d %d %d %d %d %d %d %d\n", rec, buffer,
                rec->data.rx_packets,
                rec->data.tx_packets,
-               rec->data.tx_bytes,
+               rec->data.rx_bytes,
                rec->data.tx_bytes,
                rec->data.rx_errors,
                rec->data.tx_errors,