demo/choose_clock: Fix a printf.

"Selecting master clock %d for channel %d on subdevice %d.\n"

The %d after subdevice was missing although the corresponding parameter
in the argument list was present.
This commit is contained in:
Ian Abbott 2012-05-14 14:45:37 +01:00
parent 0f77a92830
commit 77e2628600

View file

@ -51,7 +51,7 @@ int main(int argc, char *argv[])
else
period_ns = 0;
clock_selection = options.value;
printf("Selecting master clock %d for channel %d on subdevice.\n", clock_selection, options.channel, options.subdevice);
printf("Selecting master clock %d for channel %d on subdevice %d.\n", clock_selection, options.channel, options.subdevice);
if(period_ns)
{
printf("Clock period = %d nanoseconds.\n", period_ns);