summaryrefslogtreecommitdiffstats
path: root/fastboot
diff options
context:
space:
mode:
authorYuchao Zhou <superzhou@google.com>2018-10-26 22:47:40 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-10-26 22:47:40 +0000
commit55d31ecd86f1ac080bb9c40606fe13209150a6ca (patch)
treed2b5cf15e951169da813f15590d67220c09b8215 /fastboot
parent668f70f6ef958e2fbef8a5ff0cd6c0290b3e0754 (diff)
parenta56a729c1402d1d65c53171577861cef5b0c41c4 (diff)
downloadsystem_core-55d31ecd86f1ac080bb9c40606fe13209150a6ca.tar.gz
system_core-55d31ecd86f1ac080bb9c40606fe13209150a6ca.tar.bz2
system_core-55d31ecd86f1ac080bb9c40606fe13209150a6ca.zip
Merge "More Mac build fixes."
Diffstat (limited to 'fastboot')
-rw-r--r--fastboot/fastboot.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fastboot/fastboot.cpp b/fastboot/fastboot.cpp
index 6e257c9fb..3c6b1b708 100644
--- a/fastboot/fastboot.cpp
+++ b/fastboot/fastboot.cpp
@@ -852,7 +852,7 @@ static bool load_buf_fd(int fd, struct fastboot_buffer* buf) {
buf->image_size = sz;
}
- lseek64(fd, 0, SEEK_SET);
+ lseek(fd, 0, SEEK_SET);
int64_t limit = get_sparse_limit(sz);
if (limit) {
sparse_file** s = load_sparse_files(fd, limit);