diff --git a/userspace/tools/wrs_dump_shmem.c b/userspace/tools/wrs_dump_shmem.c index df46934f2568acd25837d16e8ad25b90b777b907..22688bf4e780712e5ae5ef39e2ed34cd80cd9f29 100644 --- a/userspace/tools/wrs_dump_shmem.c +++ b/userspace/tools/wrs_dump_shmem.c @@ -256,7 +256,7 @@ void dump_one_field(void *addr, struct dump_info *info, char *info_prefix) break; case dump_type_sfp_dom_tx_power: case dump_type_sfp_dom_rx_power: - printf("%.3f mW\n", ntohs(*(uint16_t *)p)/(float)10000); + printf("%.4f mW\n", ntohs(*(uint16_t *)p)/(float)10000); break; case dump_type_port_mode: i = *(uint32_t *)p;