diff options
author | Michael Ryleev <gmar@google.com> | 2016-02-10 15:31:24 -0800 |
---|---|---|
committer | Michael Ryleev <gmar@google.com> | 2016-02-10 15:35:19 -0800 |
commit | c16958f25dac4971539bd872712816154cdf7e98 (patch) | |
tree | be08425050a24152bd029dc636c1193bb2dcb51d | |
parent | 78e7a8358749bfec20540f72bb65db870b464c14 (diff) | |
download | gatekeeper-c16958f25dac4971539bd872712816154cdf7e98.tar.gz |
Switch to use proper flag calling storage_open_file
Change-Id: I152aa9a66df9a9c012fc6723af8d7b1e85fc344a
-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 90bb6fa..b2db1ca 100644 --- a/trusty_gatekeeper.cpp +++ b/trusty_gatekeeper.cpp @@ -262,7 +262,7 @@ bool TrustyGateKeeper::WriteSecureFailureRecord(uint32_t uid, failure_record_t * snprintf(id, STORAGE_ID_LENGTH_MAX, GATEKEEPER_PREFIX "%u", uid); file_handle_t handle; - rc = storage_open_file(session, &handle, id, STORAGE_OPEN_CREATE); + rc = storage_open_file(session, &handle, id, STORAGE_FILE_OPEN_CREATE); if (rc < 0) { TLOGE("Error: [%d] failed to open storage object %s\n", rc, id); return false; |