]> sourceware.org Git - newlib-cygwin.git/commit
RISC-V: Fix timeval conversion in _gettimeofday()
authorKuan-Wei Chiu <visitorckw@gmail.com>
Wed, 29 Nov 2023 03:57:14 +0000 (11:57 +0800)
committerCorinna Vinschen <corinna@vinschen.de>
Wed, 29 Nov 2023 09:14:55 +0000 (10:14 +0100)
commit5f15d7c5817b07a6b18cbab17342c95cb7b42be4
tree6bee736d3d82e234aa613ac00ade9a501d3a183a
parentdab15f6740ff73e8b17b7ddddcbb678895a916a2
RISC-V: Fix timeval conversion in _gettimeofday()

Replace multiplication with division for microseconds calculation from
nanoseconds in _gettimeofday function.

Signed-off-by: Kuan-Wei Chiu <visitorckw@gmail.com>
libgloss/riscv/sys_gettimeofday.c
This page took 0.028895 seconds and 5 git commands to generate.