doc: Fix return description for POSIX sched_get_priority functions.
PATCH 1/1 doc: Fix return description for POSIX sched_get_priority functions.
---
I found a minor issue in the documentation for scheduler priorities in the 2.6.x tree. See the patch below.
Cheers,
Jeff
ksrc/skins/posix/sched.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
ksrc/skins/posix/sched.c +2 -2
@@ -69,7 +69,7 @@* @param policy scheduling policy, one of SCHED_FIFO, SCHED_RR, * SCHED_SPORADIC, SCHED_TP or SCHED_OTHER. * -* @retval 0 on success; +* @retval The minimum priority of @a policy on success; * @retval -1 with @a errno set if: * - EINVAL, @a policy is invalid. *
@@ -105,7 +105,7 @@ int sched_get_priority_min(int policy)* @param policy scheduling policy, one of SCHED_FIFO, SCHED_RR, * SCHED_SPORADIC, SCHED_TP or SCHED_OTHER. * -* @retval 0 on success; +* @retval The maximum priority of @a policy on success; * @retval -1 with @a errno set if: * - EINVAL, @a policy is invalid. *
Signature · 1 line
1.9.1
Gilles Chanteperdrix
AppliedQuoted 4 lines · Jeffrey Melville
---
I found a minor issue in the documentation for scheduler priorities in the 2.6.x tree. See the patch below.
Merged, thanks.
Signature · 1 line
Gilles.