diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-06-22 21:29:59 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-06-22 21:29:59 -0700 |
commit | d21efe08b3baad41ae1ffa3a313e6ce30c6df182 (patch) | |
tree | b9f9589904ab12578689f47dfb3071f963d13411 /tests/fcntl | |
parent | 27277383aa28bea7eaf0b72b6f5021bb24bfede0 (diff) |
fix test_fcntl
Diffstat (limited to 'tests/fcntl')
-rw-r--r-- | tests/fcntl/src.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fcntl/src.c b/tests/fcntl/src.c index 5b40ec79..c8c71c8a 100644 --- a/tests/fcntl/src.c +++ b/tests/fcntl/src.c @@ -45,7 +45,7 @@ int main() { printf("\n"); errno = 0; - flock lk; + struct flock lk; lk.l_type = 42; printf("F_GETLK: %d\n", fcntl(f, F_GETLK, &lk)); printf("errno: %d\n", errno); |