summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/clocksettime.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-12-13 15:45:43 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-12-13 15:45:43 +0000
commit8d8daef461194021e0df6cdc3140a1d124d140e4 (patch)
tree3d3003c4a9653732b3810e2d2e1913bd34422cdf /cpukit/posix/src/clocksettime.c
parent2007-12-13 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-8d8daef461194021e0df6cdc3140a1d124d140e4.tar.bz2
2007-12-13 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/preinstall.am, posix/preinstall.am, posix/src/aio.c, posix/src/clockgetcpuclockid.c, posix/src/clockgetenableattr.c, posix/src/clockgettime.c, posix/src/clocksetenableattr.c, posix/src/clocksettime.c, posix/src/devctl.c, posix/src/pthreadcreate.c, posix/src/pthreadgetcpuclockid.c, posix/src/types.c, rtems/preinstall.am, sapi/Makefile.am, sapi/preinstall.am, score/Makefile.am, score/preinstall.am: Eliminate POSIX_NOT_IMPLEMENTED(). Return ENOSYS instead.
Diffstat (limited to 'cpukit/posix/src/clocksettime.c')
-rw-r--r--cpukit/posix/src/clocksettime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/posix/src/clocksettime.c b/cpukit/posix/src/clocksettime.c
index c733e6f378..f625d99c28 100644
--- a/cpukit/posix/src/clocksettime.c
+++ b/cpukit/posix/src/clocksettime.c
@@ -42,13 +42,13 @@ int clock_settime(
#ifdef _POSIX_CPUTIME
case CLOCK_PROCESS_CPUTIME:
- return POSIX_NOT_IMPLEMENTED();
+ rtems_set_errno_and_return_minus_one( ENOSYS );
break;
#endif
#ifdef _POSIX_THREAD_CPUTIME
case CLOCK_THREAD_CPUTIME:
- return POSIX_NOT_IMPLEMENTED();
+ rtems_set_errno_and_return_minus_one( ENOSYS );
break;
#endif
default: