clock_settime fail on qemu-xilinx-zynq-a9

Heinz Junkes junkes at fhi-berlin.mpg.de
Tue Apr 14 07:59:49 UTC 2020


Hello, Sebastian,
thanks for the patches. Of course, I only came up with that mistake by chance. 
In my program I try to get the current time from a ntp-server and set it afterwards 
with clock_settime on the target.
The access to the ntp-server failed and the timespec variable 
for the clock_settime was not initialized ;-)

Viele Grüße
Heinz Junkes
--
Experience directly varies with equipment ruined.



> On 13. Apr 2020, at 19:04, Sebastian Huber <sebastian.huber at embedded-brains.de> wrote:
> 
> Hello Heinz,
> 
> this assertion is definitely an error (clock_settime should return EINVAL instead), however, why do you want to set a time after Wednesday, May 30, 2514?
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5300 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/users/attachments/20200414/d5f14be3/attachment-0001.bin>


More information about the users mailing list