mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-17 17:38:37 +08:00
rtemsbsd/nfsclient: Fix the error code return value
This commit is contained in:
@@ -984,6 +984,7 @@ out:
|
|||||||
if (fspath != NULL) {
|
if (fspath != NULL) {
|
||||||
rtems_bsd_rootfs_rmdir(fspath);
|
rtems_bsd_rootfs_rmdir(fspath);
|
||||||
}
|
}
|
||||||
|
rtems_set_errno_and_return_minus_one(error);
|
||||||
}
|
}
|
||||||
return error;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user