summaryrefslogtreecommitdiffstats
path: root/sysif.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysif.c')
-rw-r--r--sysif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysif.c b/sysif.c
index a3b3ff91..6b646d9c 100644
--- a/sysif.c
+++ b/sysif.c
@@ -889,7 +889,7 @@ static val fcntl_wrap(val fd_in, val cmd_in, val arg_in)
if (missingp(arg_in)) {
errno = EINVAL;
} else {
- struct flock fl = { 0 };
+ struct flock fl = all_zero_init;
flock_pack(self, arg_in, &fl);
res = fcntl(fd, cmd, &fl);
if (cmd == F_GETLK)