mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-07-22 03:47:22 +08:00
rtemsbsd/nfsclient: Fix the error code return value
This commit is contained in:
parent
6ee31ae968
commit
87a5b45564
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user