diff options
Diffstat (limited to 'c/src/libfs/src/imfs/imfs_mount.c')
-rw-r--r-- | c/src/libfs/src/imfs/imfs_mount.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/c/src/libfs/src/imfs/imfs_mount.c b/c/src/libfs/src/imfs/imfs_mount.c index 158210cd3d..1674d9a60d 100644 --- a/c/src/libfs/src/imfs/imfs_mount.c +++ b/c/src/libfs/src/imfs/imfs_mount.c @@ -26,6 +26,7 @@ #include "imfs.h" #include <rtems/libio_.h> +#include <rtems/seterr.h> int IMFS_mount( rtems_filesystem_mount_table_entry_t *mt_entry @@ -40,7 +41,7 @@ int IMFS_mount( */ if ( node->type != IMFS_DIRECTORY ) - set_errno_and_return_minus_one( ENOTDIR ); + rtems_set_errno_and_return_minus_one( ENOTDIR ); /* * Set mt_fs pointer to point to the mount table entry for |