aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man3/pthread_setschedparam.32
1 files changed, 1 insertions, 1 deletions
diff --git a/man3/pthread_setschedparam.3 b/man3/pthread_setschedparam.3
index 63b796dec4..70aa2d3768 100644
--- a/man3/pthread_setschedparam.3
+++ b/man3/pthread_setschedparam.3
@@ -403,7 +403,7 @@ main(int argc, char *argv[])
printf("Scheduler settings in \(aqattr\(aq\en");
display_sched_attr(policy, &param);
- s = pthread_attr_getinheritsched(&attr, &inheritsched);
+ pthread_attr_getinheritsched(&attr, &inheritsched);
printf(" inheritsched is %s\en",
(inheritsched == PTHREAD_INHERIT_SCHED) ? "INHERIT" :
(inheritsched == PTHREAD_EXPLICIT_SCHED) ? "EXPLICIT" :