36 lines
980 B
Diff
36 lines
980 B
Diff
From 9def6743917089885f5135c9d244361fff2b8326 Mon Sep 17 00:00:00 2001
|
|
From: John Fastabend <john.r.fastabend@intel.com>
|
|
Date: Wed, 27 Jul 2011 15:07:58 -0700
|
|
Subject: [PATCH 16/29] lldpad: fix compile warnings in 802.1Qaz debug code
|
|
|
|
802.1Qaz debug print code contains some compile warnings.
|
|
|
|
Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
|
|
Signed-off-by: Petr Sabata <contyk@redhat.com>
|
|
---
|
|
lldp_8021qaz.c | 4 ++--
|
|
1 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/lldp_8021qaz.c b/lldp_8021qaz.c
|
|
index adeb0eb..2a6685b 100644
|
|
--- a/lldp_8021qaz.c
|
|
+++ b/lldp_8021qaz.c
|
|
@@ -645,12 +645,12 @@ void print_pfc(struct ieee_pfc *pfc)
|
|
|
|
printf("\t requests: ");
|
|
for (i = 0; i < 8; i++)
|
|
- printf("%i ", pfc->requests[i]);
|
|
+ printf("%llu ", pfc->requests[i]);
|
|
printf("\n");
|
|
|
|
printf("\t indications: ");
|
|
for (i = 0; i < 8; i++)
|
|
- printf("%i ", pfc->indications[i]);
|
|
+ printf("%llu ", pfc->indications[i]);
|
|
printf("\n");
|
|
}
|
|
#endif
|
|
--
|
|
1.7.6
|
|
|