From: Alexander Aring <alex.aring@gmail.com>
To: Christoffer Holmstedt <christoffer@christofferholmstedt.se>
Cc: linux-wpan@vger.kernel.org
Subject: Re: [PATCH wpan-tools] info: fix printf taking the wrong amount of arguments
Date: Mon, 1 Jun 2015 15:40:38 +0200 [thread overview]
Message-ID: <20150601134037.GC1195@omega> (raw)
In-Reply-To: <20150601090407.GA2974@raspberrypi>
On Mon, Jun 01, 2015 at 09:04:15AM +0000, Christoffer Holmstedt wrote:
> 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);
Thanks, applied.
- Alex
prev parent reply other threads:[~2015-06-01 13:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-01 9:04 [PATCH wpan-tools] info: fix printf taking the wrong amount of arguments Christoffer Holmstedt
2015-06-01 13:40 ` Alexander Aring [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=20150601134037.GC1195@omega \
--to=alex.aring@gmail.com \
--cc=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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox