summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--trusty_gatekeeper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/trusty_gatekeeper.cpp b/trusty_gatekeeper.cpp
index 2e461cf..3e6e9a8 100644
--- a/trusty_gatekeeper.cpp
+++ b/trusty_gatekeeper.cpp
@@ -187,7 +187,7 @@ void TrustyGateKeeper::ComputeSignature(uint8_t* signature,
uint64_t TrustyGateKeeper::GetMillisecondsSinceBoot() const {
int rc;
int64_t secure_time_ns = 0;
- rc = gettime(0, 0, &secure_time_ns);
+ rc = trusty_gettime(0, &secure_time_ns);
if (rc != NO_ERROR) {
secure_time_ns = 0;
TLOGE("%s Error:[0x%x].\n", __func__, rc);