From: Ian Abbott Date: Mon, 14 May 2012 13:45:37 +0000 (+0100) Subject: demo/choose_clock: Fix a printf. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=77e2628600a9419e240fa85b2672a120c37cbeae;p=comedilib.git 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. --- diff --git a/demo/choose_clock.c b/demo/choose_clock.c index 99e546c..9570ccf 100644 --- a/demo/choose_clock.c +++ b/demo/choose_clock.c @@ -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);