From 0b382100d2746bb659d5507f5c3b5a2bcaf4a8f6 Mon Sep 17 00:00:00 2001 From: Brendan Le Foll Date: Fri, 24 Apr 2015 16:05:12 +0100 Subject: [PATCH] mraa-gpio.c: fix unused printf argument Signed-off-by: Brendan Le Foll --- examples/mraa-gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/mraa-gpio.c b/examples/mraa-gpio.c index 93651c0..347d01b 100644 --- a/examples/mraa-gpio.c +++ b/examples/mraa-gpio.c @@ -98,7 +98,7 @@ gpio_set(int pin, int level, mraa_boolean_t raw) if (raw != 0) { if (mraa_gpio_use_mmaped(gpio, 1) != MRAA_SUCCESS) { fprintf(stdout, - "mmapped access to gpio not supported, falling back to normal mode\n", pin); + "mmapped access to gpio %d not supported, falling back to normal mode\n", pin); } } mraa_gpio_write(gpio, level);