diff options
Diffstat (limited to 'c/src/exec/libcsupport/src/telldir.c')
-rw-r--r-- | c/src/exec/libcsupport/src/telldir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/exec/libcsupport/src/telldir.c b/c/src/exec/libcsupport/src/telldir.c index 385b2f74f4..81c9606ebf 100644 --- a/c/src/exec/libcsupport/src/telldir.c +++ b/c/src/exec/libcsupport/src/telldir.c @@ -22,7 +22,7 @@ #include <errno.h> #include <rtems/libio_.h> - +#include <rtems/seterr.h> long telldir( DIR *dirp @@ -31,7 +31,7 @@ long telldir( rtems_libio_t *iop; if ( !dirp ) - set_errno_and_return_minus_one( EBADF ); + rtems_set_errno_and_return_minus_one( EBADF ); /* * Get the file control block structure associated with the |