summaryrefslogtreecommitdiffstats
path: root/c/src/exec/posix/src/clockgettime.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/exec/posix/src/clockgettime.c')
-rw-r--r--c/src/exec/posix/src/clockgettime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/exec/posix/src/clockgettime.c b/c/src/exec/posix/src/clockgettime.c
index e797f71e20..d2b382b54d 100644
--- a/c/src/exec/posix/src/clockgettime.c
+++ b/c/src/exec/posix/src/clockgettime.c
@@ -33,7 +33,7 @@ int clock_gettime(
long ticks;
if ( !tp )
- set_errno_and_return_minus_one( EINVAL );
+ rtems_set_errno_and_return_minus_one( EINVAL );
switch ( clock_id ) {
@@ -62,7 +62,7 @@ int clock_gettime(
break;
#endif
default:
- set_errno_and_return_minus_one( EINVAL );
+ rtems_set_errno_and_return_minus_one( EINVAL );
}
return 0;