[PATCH] Linux: Add missing handling of tai field to __ntp_gettime64
Florian Weimer
fweimer@redhat.com
Wed May 20 15:59:10 GMT 2020
* Joseph Myers:
> On Wed, 20 May 2020, Florian Weimer via Libc-alpha wrote:
>
>> This fixes a build error:
>>
>> ../sysdeps/unix/sysv/linux/ntp_gettime.c: In function ‘__ntp_gettime’:
>> ../sysdeps/unix/sysv/linux/ntp_gettime.c:56:10: error: ‘ntv64.tai’ is used uninitialized in this function [-Werror=uninitialized]
>> 56 | *ntv = valid_ntptimeval64_to_ntptimeval (ntv64);
>> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>
>> ---
>> Testing on x86_64-linux-gnu, i686-linux-gnu and building with
>> build-many-glibcs.py is under way.
>
> OK.
Thanks, pushed after successful testing.
Florian
More information about the Libc-alpha
mailing list