aboutsummaryrefslogtreecommitdiffstats
path: root/util/dotlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/dotlock.c')
-rw-r--r--util/dotlock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/dotlock.c b/util/dotlock.c
index 42d47117c..917b90dd5 100644
--- a/util/dotlock.c
+++ b/util/dotlock.c
@@ -126,7 +126,7 @@ make_dotlock( const char *file_to_lock, long timeout )
int
release_dotlock( const char *lockfile )
{
- int pid = rad_lockfile( lockfile );
+ int pid = read_lockfile( lockfile );
if( pid == -1 ) {
log_error( "release_dotlock: lockfile error");
return -1;