summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Bray <ncbray@google.com>2018-10-30 13:27:25 -0700
committerNick Bray <ncbray@google.com>2018-10-30 14:02:02 -0700
commit8fa6f1ac0562e91be2c68b1afc8a357ab634962c (patch)
tree5c7a0b18b29594666fdf0243f598bdd9f71e2092
parent82f9107a0a0d057212b4e62ff5b3772845b4ab24 (diff)
downloadgatekeeper-8fa6f1ac0562e91be2c68b1afc8a357ab634962c.tar.gz
Eliminate the use of status_t.
status_t is a kernel type that should not be used in userspace. Bug: 110161494 Change-Id: Idf54e319d715f452a8f6a757ace972b752f4bc70
-rw-r--r--trusty_gatekeeper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/trusty_gatekeeper.cpp b/trusty_gatekeeper.cpp
index 248540e..2e461cf 100644
--- a/trusty_gatekeeper.cpp
+++ b/trusty_gatekeeper.cpp
@@ -185,7 +185,7 @@ void TrustyGateKeeper::ComputeSignature(uint8_t* signature,
}
uint64_t TrustyGateKeeper::GetMillisecondsSinceBoot() const {
- status_t rc;
+ int rc;
int64_t secure_time_ns = 0;
rc = gettime(0, 0, &secure_time_ns);
if (rc != NO_ERROR) {