summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--commands/trigger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/trigger.c b/commands/trigger.c
index 162da97c9b..095f96d9f2 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;
}