Thread (6 messages) flat view 6 messages, 3 authors, 2017-10-03

Re: [PATCH] bridge: Fix format string for %ul

From: Oleg Drokin <hidden>
Date: 2016-08-27 15:58:15
Also in: bridge, lkml

On Aug 27, 2016, at 11:13 AM, Sergei Shtylyov wrote:
Hello.

On 8/27/2016 6:10 AM, Oleg Drokin wrote:
quoted
%ul would print an unsigned value and a letter l,
likely it was %lu that was meant to print the long int,
but in reality the values printed there are just regular signed
  Signed? Then you need probably "%d" or "%i"…
They are signed in the struct definition, but in reality they
designate time, so could not be negative, I imagine?
quoted
ints, so just dropping the l altogether.

Signed-off-by: Oleg Drokin <redacted>
[...]

MBR, Sergei
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help