summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--trusty_gatekeeper.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/trusty_gatekeeper.cpp b/trusty_gatekeeper.cpp
index b2db1ca..08f7e7f 100644
--- a/trusty_gatekeeper.cpp
+++ b/trusty_gatekeeper.cpp
@@ -190,7 +190,7 @@ bool TrustyGateKeeper::GetSecureFailureRecord(uint32_t uid, secure_id_t user_id,
failure_record_t *record) {
storage_session_t session;
- int rc = storage_open_session(&session);
+ int rc = storage_open_session(&session, STORAGE_CLIENT_TD_PORT);
if (rc < 0) {
TLOGE("Error: [%d] opening storage session\n", rc);
return false;
@@ -251,7 +251,7 @@ bool TrustyGateKeeper::ClearFailureRecord(uint32_t uid, secure_id_t user_id, boo
bool TrustyGateKeeper::WriteSecureFailureRecord(uint32_t uid, failure_record_t *record) {
storage_session_t session;
- long rc = storage_open_session(&session);
+ long rc = storage_open_session(&session, STORAGE_CLIENT_TD_PORT);
if (rc < 0) {
TLOGE("Error: [%d] failed to open storage session\n", rc);
return false;