X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-cli.git;a=blobdiff_plain;f=show.c;h=f09095a5c9f1802630c757e3f2ec890949dfbcc2;hp=eca05b8b92216145dc998213b32e8b6b75efc1ee;hb=87cb3b61d72f430479bb5fdfd3c0c909f3ac899e;hpb=551f570c7b6b572d83b93f961b13580d4839fff6 diff --git a/show.c b/show.c index eca05b8..f09095a 100644 --- a/show.c +++ b/show.c @@ -610,7 +610,7 @@ void show_dev_detail(void) gvar = g_variant_get_child_value(gvar_list, i); g_variant_get(gvar, "(tt)", &p, &q); if (srci->datatype == SR_T_RATIONAL_PERIOD) - s = sr_period_string(p * q); + s = sr_period_string(p, q); else s = sr_voltage_string(p, q); printf(" %s", s);