Messages in this thread | | | Date | Fri, 11 Jan 2013 18:29:18 -0800 | From | John Stultz <> | Subject | Re: [PATCHv2] posix-timers: Fix clock_adjtime to always return timex data on success |
| |
On 01/11/2013 02:58 AM, Miroslav Lichvar wrote: > The clock_adj call returns the clock state on success, which may be a > non-zero value (e.g. TIME_INS), but the modified timex data is copied > back to the user only when zero value (TIME_OK) was returned. Fix the > condition to copy the data also with positive return values. > > Signed-off-by: Miroslav Lichvar <mlichvar@redhat.com>
Thanks for the resend. I've got this in my queue for 3.9
thanks -john
| |