diff options
author | Alexey Izbyshev <izbyshev@ispras.ru> | 2023-03-06 11:59:21 +0300 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2023-04-11 09:23:44 -0400 |
commit | c1b42c4a3a0324ec25877980f59db233fa420925 (patch) | |
tree | 85fb1a9f254a6b8d98329135e2f60ea1bda1f729 /src/stdio/vfwprintf.c | |
parent | semtimedop: fix timespec kernel ABI mismatch for 32-bit timeouts on x32 (diff) | |
download | grovel-c1b42c4a3a0324ec25877980f59db233fa420925.tar.gz grovel-c1b42c4a3a0324ec25877980f59db233fa420925.tar.xz |
wait4: fix missing rusage on x32 due to wrong success condition
Resource usage data is filled by the kernel only when wait4 returns
a pid, i.e. a positive value.
Commit 5850546e9669f793aab61dfc7c4f2c1ff35c4b29 introduced this bug,
possibly because of copy-pasting from getrusage.
Diffstat (limited to 'src/stdio/vfwprintf.c')
0 files changed, 0 insertions, 0 deletions