mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-28 20:46:01 +01:00
It was to late.
This commit is contained in:
parent
87ef40e399
commit
c1834500b1
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@
|
|||
#define file_lock_set(fd, cmd) \
|
||||
{ \
|
||||
struct flock lock = { .l_type = cmd, .l_start = 0, .l_whence = SEEK_SET, .l_len = 0}; \
|
||||
fcntl(fd, F_SETLK, lock, NULL); \
|
||||
fcntl(fd, F_SETLK, lock); \
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue