32c32
< * $FreeBSD: head/lib/libthr/thread/thr_setprio.c 160287 2006-07-12 06:13:18Z davidxu $
---
> * $FreeBSD: head/lib/libthr/thread/thr_setprio.c 160321 2006-07-13 06:35:43Z davidxu $
53c53
< ret = sched_setparam((pid_t)curthread->tid, ¶m);
---
> ret = thr_setschedparam(curthread->tid, ¶m, sizeof(param));
62c62
< ret = sched_setparam((pid_t)pthread->tid, ¶m);
---
> ret = thr_setschedparam(pthread->tid, ¶m, sizeof(param));
< * $FreeBSD: head/lib/libthr/thread/thr_setprio.c 160287 2006-07-12 06:13:18Z davidxu $
---
> * $FreeBSD: head/lib/libthr/thread/thr_setprio.c 160321 2006-07-13 06:35:43Z davidxu $
53c53
< ret = sched_setparam((pid_t)curthread->tid, ¶m);
---
> ret = thr_setschedparam(curthread->tid, ¶m, sizeof(param));
62c62
< ret = sched_setparam((pid_t)pthread->tid, ¶m);
---
> ret = thr_setschedparam(pthread->tid, ¶m, sizeof(param));