OSDN Git Service
(root)
/
android-x86
/
bionic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ced73ee
)
Fix lockf for LP32.
author
Elliott Hughes
<enh@google.com>
Tue, 26 Jan 2016 22:32:55 +0000
(14:32 -0800)
committer
Elliott Hughes
<enh@google.com>
Tue, 26 Jan 2016 22:32:55 +0000
(14:32 -0800)
Bug: http://b/
13077650
Change-Id: Ibbe2d907d23791c908475e0875a5c745ac948813
libc/bionic/lockf.cpp
patch
|
blob
|
history
diff --git
a/libc/bionic/lockf.cpp
b/libc/bionic/lockf.cpp
index
1510b3d
..
804ad68
100644
(file)
--- 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 flock
64
fl;
memset(&fl, 0, sizeof(fl));
fl.l_whence = SEEK_CUR;
fl.l_start = 0;