summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Bray <ncbray@google.com>2018-11-12 13:59:50 -0800
committerNick Bray <ncbray@google.com>2018-11-12 13:59:50 -0800
commita242f9603e16984e8b54e000cd379f601e9024a3 (patch)
tree02cf6863316857108eff061426375d82ed77338c
parent8fa6f1ac0562e91be2c68b1afc8a357ab634962c (diff)
downloadgatekeeper-a242f9603e16984e8b54e000cd379f601e9024a3.tar.gz
Prefix gettime and nanosleep with trusty_.
Bug: 110161494 Change-Id: If93151657aa5fdd755046075a13fd339db93355c
-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);