2009-08-17 10:47:33

by Arnd Hannemann

[permalink] [raw]
Subject: [PATCH] iw: fix output qualifier for unsigned values

Hi,

with 0.9.16 a "iw wlan0 station dump" gives the following output:

Station XX:XX:XX:XX:XX:XX (on wlan0)
inactive time: 4 ms
rx bytes: -1611945626
rx packets: 7643414
tx bytes: 1527923993
tx packets: 4829428
signal: -63 dBm
tx bitrate: 54.0 MBit/s


Seems to be the output qualifier %d is used wrongly in some cases.
This patch fixes that.


Attachments:
iw_use_unsigned.patch (1.17 kB)

2009-08-17 10:58:23

by Johannes Berg

[permalink] [raw]
Subject: Re: [PATCH] iw: fix output qualifier for unsigned values

On Mon, 2009-08-17 at 12:46 +0200, Arnd Hannemann wrote:

> Seems to be the output qualifier %d is used wrongly in some cases.
> This patch fixes that.

Applied, thanks, but please CC me in the future as explained in the
README file.

johannes


Attachments:
signature.asc (801.00 B)
This is a digitally signed message part