rtemsbsd/nfsclient: Fix the error code return value

This commit is contained in:
Chris Johns 2021-10-20 14:13:44 +11:00
parent 6ee31ae968
commit 87a5b45564

View File

@ -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;
}