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