summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/fpathconf.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libcsupport/src/fpathconf.c')
-rw-r--r--cpukit/libcsupport/src/fpathconf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpukit/libcsupport/src/fpathconf.c b/cpukit/libcsupport/src/fpathconf.c
index 063baff38a..ac65db000b 100644
--- a/cpukit/libcsupport/src/fpathconf.c
+++ b/cpukit/libcsupport/src/fpathconf.c
@@ -16,6 +16,7 @@
#endif
#include <rtems/libio_.h>
+#include <rtems/seterr.h>
#include <unistd.h>
#include <errno.h>
@@ -78,7 +79,7 @@ long fpathconf(
return_value = the_limits->posix_sync_io;
break;
default:
- set_errno_and_return_minus_one( EINVAL );
+ rtems_set_errno_and_return_minus_one( EINVAL );
break;
}