[PATCH 5/5] trigger command: fix printf format
Sascha Hauer
s.hauer at pengutronix.de
Tue Mar 8 06:39:45 EST 2011
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
commands/trigger.c | 2 +-
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;
}
--
1.7.2.3
More information about the barebox
mailing list