commit | a449fafc894c47305b49087d995e821e878e59c1 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Tue Jan 26 22:56:36 2016 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Jan 26 22:56:36 2016 +0000 |
tree | f2172a63054c9d630c17cc0fb3ae8ce27faabe9b | |
parent | 3a33b5298101e959c83ea60003618d3052d0adfe [diff] | |
parent | d4ae54f668632e47f080ab60f2dc540560e98989 [diff] |
Merge "Fix lockf for LP32."
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;