From: Sascha Hauer <s.hauer@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH 5/5] trigger command: fix printf format
Date: Tue, 8 Mar 2011 12:39:45 +0100 [thread overview]
Message-ID: <1299584385-6016-6-git-send-email-s.hauer@pengutronix.de> (raw)
In-Reply-To: <1299584385-6016-1-git-send-email-s.hauer@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@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
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
prev parent reply other threads:[~2011-03-08 11:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-08 11:39 assorted patches Sascha Hauer
2011-03-08 11:39 ` [PATCH 1/5] ARM scb9328: Add gpio led support Sascha Hauer
2011-03-08 11:39 ` [PATCH 2/5] ramfs: increase chunk size to 4 kbyte Sascha Hauer
2011-03-08 11:39 ` [PATCH 3/5] mfd/mc13892: Add missing semicolons Sascha Hauer
2011-03-08 11:39 ` [PATCH 4/5] module: CONFIG_COMMAND does not exist anymore, remove ifdefs Sascha Hauer
2011-03-08 11:39 ` Sascha Hauer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1299584385-6016-6-git-send-email-s.hauer@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox