Skip to content

Commit

Permalink
Update sr_period_string usage
Browse files Browse the repository at this point in the history
  • Loading branch information
abraxa authored and uwehermann committed Mar 7, 2017
1 parent 9d94914 commit 87cb3b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion show.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 87cb3b6

Please sign in to comment.