mirror of
https://github.com/microsoft/WSL.git
synced 2026-06-01 01:49:36 -05:00
The format string takes four scalars (sec, nsec, sec, nsec) but only two struct timespec pointers were being passed, so the diagnostic on failure printed garbage. Pass the four scalar fields with explicit casts to match the format specifiers. Co-authored-by: benhillis <17727402+benhillis@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>