fix incorrect definition of RUSAGE_CHILDREN in sys/resource.h
authorRich Felker <dalias@aerifal.cx>
Wed, 29 Jun 2016 15:54:03 +0000 (11:54 -0400)
committerRich Felker <dalias@aerifal.cx>
Wed, 29 Jun 2016 15:54:03 +0000 (11:54 -0400)
commitb3bbc7b16067c82e528d3de580f807b8316f096e
treea9670871f758888406a3f8c321631b51be230bfb
parent4da0bc5ef8e0fdea65335599d947d74b7b321daa
fix incorrect definition of RUSAGE_CHILDREN in sys/resource.h

the kernel ABI value for RUSAGE_CHILDREN is -1, not 1. the latter is
actually interpreted as RUSAGE_THREAD, to obtain values for just the
calling thread and not the whole process.
include/sys/resource.h