From 77e2628600a9419e240fa85b2672a120c37cbeae Mon Sep 17 00:00:00 2001 From: Ian Abbott Date: Mon, 14 May 2012 14:45:37 +0100 Subject: [PATCH] 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. --- demo/choose_clock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.26.2