Commit c1834500 authored by Sebastian Ramacher's avatar Sebastian Ramacher
Browse files

It was to late.

parent 87ef40e3
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment