I think this patch is wrong. The IMFS mount tests fail. It looks like the NFS
mount in LibBSD is wrong. I will look at a fix there.
On 18/9/21 3:18 pm, chr...@rtems.org wrote:
> From: Chris Johns <chr...@rtems.org>
> 
> Closes #4507
> ---
>  cpukit/libcsupport/src/mount.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/cpukit/libcsupport/src/mount.c b/cpukit/libcsupport/src/mount.c
> index a4f6423c03..2caa8099c1 100644
> --- a/cpukit/libcsupport/src/mount.c
> +++ b/cpukit/libcsupport/src/mount.c
> @@ -219,6 +219,8 @@ int mount(
>  
>          if ( rv != 0 ) {
>            free( mt_entry );
> +          errno = rv;
> +          rv = -1;
>          }
>        } else {
>          errno = ENOMEM;
> 
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to