commit | d4ae54f668632e47f080ab60f2dc540560e98989 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Tue Jan 26 14:32:55 2016 -0800 |
committer | Elliott Hughes <enh@google.com> | Tue Jan 26 14:32:55 2016 -0800 |
tree | b4e603213c0f8c80721316fc50ba213ab636d278 | |
parent | ced73ee45e04a991ce1295a38364568a17884eed [diff] [blame] |
Fix lockf for LP32. Bug: http://b/13077650 Change-Id: Ibbe2d907d23791c908475e0875a5c745ac948813
diff --git a/libc/bionic/lockf.cpp b/libc/bionic/lockf.cpp index 1510b3d..804ad68 100644 --- a/libc/bionic/lockf.cpp +++ b/libc/bionic/lockf.cpp
@@ -34,7 +34,7 @@ int lockf64(int fd, int cmd, off64_t length) { // Translate POSIX lockf into fcntl. - struct flock fl; + struct flock64 fl; memset(&fl, 0, sizeof(fl)); fl.l_whence = SEEK_CUR; fl.l_start = 0;