commit | a88faba6b68c35f7fc39c3b099db3dbd815ad0df | [log] [tgz] |
---|---|---|
author | Alessio Balsini <balsini@google.com> | Tue Oct 15 18:49:44 2019 +0100 |
committer | Alessio Balsini <balsini@google.com> | Tue Oct 15 18:55:10 2019 +0100 |
tree | c73532e7a1974160a6ec94023ec37a2075f5ef2d | |
parent | 0b5949e81119fe08ef199267df8991b479febaea [diff] |
Use ReadFileToString() in GetHash() On some devices the previous implementation of GetHash() was failing at reading files, returning "Bad file descriptor" error. Using ReadFileToString() that seems to have fixed the issue. Test: libsnapshot_test Change-Id: Ie3598d8bad5b3db1cf816c120e6922a066aa2743 Signed-off-by: Alessio Balsini <balsini@google.com>