mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-10 21:33:45 +01:00
It was to late.
This commit is contained in:
parent
87ef40e399
commit
c1834500b1
@ -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 New Issue
Block a user