Linux IEEE 802.15.4 and 6LoWPAN development
 help / color / mirror / Atom feed
* [PATCH wpan-tools] info: fix printf taking the wrong amount of arguments
@ 2015-06-01  9:04 Christoffer Holmstedt
  2015-06-01 13:40 ` Alexander Aring
  0 siblings, 1 reply; 2+ messages in thread
From: Christoffer Holmstedt @ 2015-06-01  9:04 UTC (permalink / raw)
  To: linux-wpan

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-06-01 13:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox