HomeFreeBSD

Fix decoding of setpriority() arguments.

Description

Fix decoding of setpriority() arguments.

The PRIO_* 'which' value is stored in the first argument to setpriority(2),
not the last. While here, decode the arguments to getpriority(2).

Details

Provenance
jhbAuthored on
Parents
rS319760: Remove an unnecessary variable from the switch softc structure and make the
Branches
Unknown
Tags
Unknown