Skip to content

Commit

Permalink
Comment edit
Browse files Browse the repository at this point in the history
  • Loading branch information
Ross Johnson committed Oct 3, 2012
1 parent 42d1f75 commit 83a488e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sched_setaffinity.c
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ int _sched_affinitycpucount (const cpu_set_t *set)
int count;

/*
* Relies on cpu_set_t being unsigned, otherwise the right-shift will
* Relies on tset being unsigned, otherwise the right-shift will
* be arithmetic rather than logical and the 'for' will loop forever.
*/
for (count = 0, tset = ((_sched_cpu_set_vector_*)set)->_cpuset; tset; tset >>= 1)
Expand Down

0 comments on commit 83a488e

Please sign in to comment.