diff options
author | Nick Bray <ncbray@google.com> | 2018-11-12 13:59:50 -0800 |
---|---|---|
committer | Nick Bray <ncbray@google.com> | 2018-11-12 13:59:50 -0800 |
commit | a242f9603e16984e8b54e000cd379f601e9024a3 (patch) | |
tree | 02cf6863316857108eff061426375d82ed77338c | |
parent | 8fa6f1ac0562e91be2c68b1afc8a357ab634962c (diff) | |
download | gatekeeper-a242f9603e16984e8b54e000cd379f601e9024a3.tar.gz |
Prefix gettime and nanosleep with trusty_.
Bug: 110161494
Change-Id: If93151657aa5fdd755046075a13fd339db93355c
-rw-r--r-- | trusty_gatekeeper.cpp | 2 |
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); |