summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/clocksettime.c
diff options
context:
space:
mode:
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 48dc8e114e..a9993182a8 100644
--- a/cpukit/posix/src/clocksettime.c
+++ b/cpukit/posix/src/clocksettime.c
@@ -56,7 +56,7 @@ int clock_settime(
_TOD_Microseconds_per_tick;
if ( !_TOD_Validate( &tod ) )
- set_errno_and_return_minus_one( EINVAL );
+ rtems_set_errno_and_return_minus_one( EINVAL );
/*
* We can't use the tp->tv_sec field because it is based on
@@ -81,7 +81,7 @@ int clock_settime(
break;
#endif
default:
- set_errno_and_return_minus_one( EINVAL );
+ rtems_set_errno_and_return_minus_one( EINVAL );
}
return 0;