diff options
Diffstat (limited to 'c/src/exec/libcsupport/src/symlink.c')
-rw-r--r-- | c/src/exec/libcsupport/src/symlink.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/c/src/exec/libcsupport/src/symlink.c b/c/src/exec/libcsupport/src/symlink.c index 657b7c4728..8d5bb30bd5 100644 --- a/c/src/exec/libcsupport/src/symlink.c +++ b/c/src/exec/libcsupport/src/symlink.c @@ -16,6 +16,7 @@ #endif #include <rtems/libio_.h> +#include <rtems/seterr.h> int symlink( const char *actualpath, @@ -34,7 +35,7 @@ int symlink( if ( !loc.ops->symlink_h ) { rtems_filesystem_freenode( &loc ); - set_errno_and_return_minus_one( ENOTSUP ); + rtems_set_errno_and_return_minus_one( ENOTSUP ); } result = (*loc.ops->symlink_h)( &loc, actualpath, name_start); |