Re: [PATCH wpan-tools] info: fix printf taking the wrong amount of arguments

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 01, 2015 at 09:04:15AM +0000, Christoffer Holmstedt wrote:
> Signed-off-by: Christoffer Holmstedt <christoffer@xxxxxxxxxxxxxxxxxxxxxxx>
> ---
>  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
--
To unsubscribe from this list: send the line "unsubscribe linux-wpan" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux