[qca-ssdk-shell]:fix mib counter get command issue for mips on kernel 4.4.
change the format of dprintf from %x to %llx.
Change-Id: Ifdb550e7e1fa1ab7a49d54cd59af022faf2895f7
Signed-off-by: Liu Zhongjian <zhongjia@codeaurora.org>
diff --git a/src/shell/shell_io.c b/src/shell/shell_io.c
index 64c4010..4b3ae11 100644
--- a/src/shell/shell_io.c
+++ b/src/shell/shell_io.c
@@ -694,11 +694,11 @@
{
dprintf("\n[%s] \n", param_name);
a_uint32_t offset = 0;
+
for (offset = 0; offset < (sizeof (fal_mib_counter_t) / sizeof (a_uint64_t));
offset++)
{
-
- dprintf("%-12s<0x%08x> ", mib_cntr_regname[offset], *(buf + offset));
+ dprintf("%-12s<0x%010llx> ", mib_cntr_regname[offset], *(buf + offset));
if ((offset + 1) % 3 == 0)
dprintf("\n");
}