Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1471212
| From | Oleg Drokin <green@linuxhacker.ru> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] bridge: Fix format string for %ul |
| Date | 2016-08-27 18:00 +0200 |
| Message-ID | <saObv-6nq-7@gated-at.bofh.it> (permalink) |
| References | <saCk2-7AH-11@gated-at.bofh.it> <saNyO-6aa-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Aug 27, 2016, at 11:13 AM, Sergei Shtylyov wrote: > Hello. > > On 8/27/2016 6:10 AM, Oleg Drokin wrote: > >> %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? > >> ints, so just dropping the l altogether. >> >> Signed-off-by: Oleg Drokin <green@linuxhacker.ru> > [...] > > MBR, Sergei
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] bridge: Fix format string for %ul Oleg Drokin <green@linuxhacker.ru> - 2016-08-27 05:20 +0200
Re: [PATCH] bridge: Fix format string for %ul Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> - 2016-08-27 17:20 +0200
Re: [PATCH] bridge: Fix format string for %ul Oleg Drokin <green@linuxhacker.ru> - 2016-08-27 18:00 +0200
Re: [PATCH] bridge: Fix format string for %ul Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> - 2016-08-27 18:20 +0200
Re: [PATCH] bridge: Fix format string for %ul Oleg Drokin <green@linuxhacker.ru> - 2016-08-27 18:40 +0200
csiph-web