fixed typo .. changed == to !=

This commit is contained in:
Joel Sherrill
1996-08-27 15:19:51 +00:00
parent 5a2348090f
commit b5c04b68e5
2 changed files with 2 additions and 2 deletions

View File

@@ -129,7 +129,7 @@ int sched_rr_get_interval(
* Only supported for the "calling process" (i.e. this node).
*/
if ( pid == getpid() )
if ( pid != getpid() )
set_errno_and_return_minus_one( ESRCH );
if ( !interval )