summaryrefslogtreecommitdiffstats
path: root/commands/trigger.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2011-03-08 12:35:03 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2011-03-10 14:48:53 +0100
commit4b8ac386b3c8395694b2b28f934cd55a96f9553d (patch)
tree448b9dcce25659fa50ce65eef6271c1e8056c947 /commands/trigger.c
parent0ed964589c0c26c2100618b4f5fdeb8ec20cab94 (diff)
downloadbarebox-4b8ac386b3c8395694b2b28f934cd55a96f9553d.tar.gz
trigger command: fix printf format
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/trigger.c')
-rw-r--r--commands/trigger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/trigger.c b/commands/trigger.c
index 162da97..095f96d 100644
--- a/commands/trigger.c
+++ b/commands/trigger.c
@@ -79,7 +79,7 @@ static int do_trigger(struct command *cmdtp, int argc, char *argv[])
led = led_by_name_or_number(argv[optind]);
if (!led) {
- printf("no such led: %d\n", argv[optind]);
+ printf("no such led: %s\n", argv[optind]);
return 1;
}