aboutsummaryrefslogtreecommitdiff
path: root/tests/fcntl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fcntl')
-rw-r--r--tests/fcntl/src.c2
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);