From: Christoffer Holmstedt <christoffer@christofferholmstedt.se>
To: linux-wpan@vger.kernel.org
Subject: [PATCH wpan-tools] info: fix printf taking the wrong amount of arguments
Date: Mon, 1 Jun 2015 09:04:15 +0000 [thread overview]
Message-ID: <20150601090407.GA2974@raspberrypi> (raw)
Signed-off-by: Christoffer Holmstedt <christoffer@christofferholmstedt.se>
---
src/info.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/info.c b/src/info.c
index e8f5dda8da94..926a63adecce 100644
--- a/src/info.c
+++ b/src/info.c
@@ -54,7 +54,7 @@ static int print_phy_handler(struct nl_msg *msg, void *arg)
rem_page) {
channel = nla_get_u32(nl_page);
if (channel) {
- printf("\tpage %d: ", page, channel);
+ printf("\tpage %d: ", page);
for (i = 0; i <= 31; i++) {
if (channel & 0x1)
printf("%d,", i);
--
1.7.10.4
--
Christoffer Holmstedt
next reply other threads:[~2015-06-01 9:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-01 9:04 Christoffer Holmstedt [this message]
2015-06-01 13:40 ` [PATCH wpan-tools] info: fix printf taking the wrong amount of arguments Alexander Aring
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=20150601090407.GA2974@raspberrypi \
--to=christoffer@christofferholmstedt.se \
--cc=linux-wpan@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.