Fix sched_setscheduler() return value

git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4629 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
patacongo
2012-04-18 13:24:39 +00:00
parent 340aca6485
commit 2e53a5cf45
3 changed files with 9 additions and 5 deletions
+3 -2
View File
@@ -1,8 +1,8 @@
/********************************************************************************************
* pthread_setschedparam.c
*
* Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
* Copyright (C) 2007, 2008, 2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -136,3 +136,4 @@ int pthread_setschedparam(pthread_t thread, int policy, FAR const struct sched_p
}
return ret;
}