This is a good example of why common functions should be put into libraries - so all programs benefit from fixes. Signed-off-by: John Kacur <jkacur@xxxxxxxxxx> --- src/lib/rt-utils.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/lib/rt-utils.c b/src/lib/rt-utils.c index 4e7597c..417c38b 100644 --- a/src/lib/rt-utils.c +++ b/src/lib/rt-utils.c @@ -60,6 +60,7 @@ int check_privs(void) } /* we're good; change back and return success */ + param.sched_priority = 0; sched_setscheduler(0, policy, NULL); return 0; } -- 1.6.5.2 -- To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html