summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/tee/tee_obj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/tee/tee_obj.c b/core/tee/tee_obj.c
index 64d3df36..510551f4 100644
--- a/core/tee/tee_obj.c
+++ b/core/tee/tee_obj.c
@@ -30,7 +30,7 @@ TEE_Result tee_obj_get(struct user_ta_ctx *utc, uint32_t obj_id,
return TEE_SUCCESS;
}
}
- return TEE_ERROR_BAD_PARAMETERS;
+ return TEE_ERROR_BAD_STATE;
}
void tee_obj_close(struct user_ta_ctx *utc, struct tee_obj *o)