diff options
author | jhb <jhb@FreeBSD.org> | 2013-12-03 14:50:12 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2013-12-03 14:50:12 +0000 |
commit | aaed7cd3d5c603bf031467b74707529cf6a23a1a (patch) | |
tree | ddc5677229e5b89fd8abbda0fc59086eeb23b859 /contrib/llvm/tools/lldb/source/Commands/CommandObjectPlatform.cpp | |
parent | 0508d4c604ab759650712fe5e6c76c145a29b048 (diff) | |
download | FreeBSD-src-aaed7cd3d5c603bf031467b74707529cf6a23a1a.zip FreeBSD-src-aaed7cd3d5c603bf031467b74707529cf6a23a1a.tar.gz |
Fix an off-by-one error in r228960. The maximum priority delta provided
by SCHED_PRI_TICKS should be SCHED_PRI_RANGE - 1 so that the resulting
priority value (before nice adjustment) is between SCHED_PRI_MIN and
SCHED_PRI_MAX, inclusive.
Submitted by: kib
Reported by: pho
MFC after: 1 week
Diffstat (limited to 'contrib/llvm/tools/lldb/source/Commands/CommandObjectPlatform.cpp')
0 files changed, 0 insertions, 0 deletions