diff options
author | Elliott Hughes <enh@google.com> | 2018-10-08 11:10:11 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2018-10-08 11:15:52 -0700 |
commit | 643268f325e2bda64248df24913f8b68c842c95a (patch) | |
tree | 4ddf6fdaa71ad280a6df08821c15ce97955a4c64 /libutils/Tokenizer.cpp | |
parent | f3186de123c742166ec5e61b27b61af3ef929dfb (diff) |
Move system/core/ off NO_ERROR.
It causes trouble for Windows, and OK already exists.
Bug: N/A
Test: builds
Change-Id: Ida22fd658b0ebb259c710ba39049b07c9e495d9c
Diffstat (limited to 'libutils/Tokenizer.cpp')
-rw-r--r-- | libutils/Tokenizer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libutils/Tokenizer.cpp b/libutils/Tokenizer.cpp index f73d6991f..98dd2fda5 100644 --- a/libutils/Tokenizer.cpp +++ b/libutils/Tokenizer.cpp @@ -48,7 +48,7 @@ Tokenizer::~Tokenizer() { status_t Tokenizer::open(const String8& filename, Tokenizer** outTokenizer) { *outTokenizer = nullptr; - int result = NO_ERROR; + int result = OK; int fd = ::open(filename.string(), O_RDONLY); if (fd < 0) { result = -errno; |