info: fix printf taking the wrong amount of arguments
PATCH 1/1 info: fix printf taking the wrong amount of arguments
Signed-off-by Christoffer Holmstedt <[email protected]>
--- src/info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
src/info.c +1 -1
@@ -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);
Signature · 5 lines
1.7.10.4 -- Christoffer Holmstedt
Quoted 10 lines · Christoffer Holmstedt
Signed-off-by Christoffer Holmstedt <[email protected]>--- src/info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)src/info.c +0
-0
src/info.c static int print_phy_handler(struct nl_msg *msg, void *arg) · line 60
Quoted 8 lines
src/info.c +1
-1@@ -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