X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=util%2Ftstlockscope.c;fp=util%2Ftstlockscope.c;h=b31776356f3c55bb72912d1df5c4692013746248;hp=a541cfaf80b8b751143098ea698d8bcc58f6541d;hb=aeea139423b8eaf28a4de53b3d7b2ad1f22284e7;hpb=0052fb5520062c328006dc3537f39d28e88f3579 diff --git a/util/tstlockscope.c b/util/tstlockscope.c index a541cfa..b317763 100644 --- a/util/tstlockscope.c +++ b/util/tstlockscope.c @@ -45,7 +45,7 @@ static int file_lock(int fd, int type, int cmd) area.l_type = type; area.l_whence = SEEK_SET; area.l_len = area.l_start = 0L; - + return fcntl(fd, cmd, &area); }