X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=util%2Ftstlockscope.c;h=c929c8c4d2e1e4d7c409887b4f1f6899ad6b3935;hb=ce2b82a980c06a45aa2eeeb88c927c90a014da61;hp=a541cfaf80b8b751143098ea698d8bcc58f6541d;hpb=ac13dceecd5f75669820819575daf88e0add5c8d;p=idzebra-moved-to-github.git diff --git a/util/tstlockscope.c b/util/tstlockscope.c index a541cfa..c929c8c 100644 --- a/util/tstlockscope.c +++ b/util/tstlockscope.c @@ -1,5 +1,5 @@ /* This file is part of the Zebra server. - Copyright (C) 1994-2011 Index Data + Copyright (C) Index Data Zebra is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -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); }