Fix for debug statement crash.
authorJeremy Allison <jra@samba.org>
Thu, 4 May 2000 00:29:50 +0000 (00:29 +0000)
committerJeremy Allison <jra@samba.org>
Thu, 4 May 2000 00:29:50 +0000 (00:29 +0000)
Jeremy.
(This used to be commit 57bf92d90147b207664152d44ce4bfb5235dc7d8)

source3/locking/posix.c

index 752311e76f5be62b6394ff40817b371481a559dd..45d139b7342f9839518457812715a180b6ce35c8 100644 (file)
@@ -442,7 +442,7 @@ static int delete_posix_lock_entry(files_struct *fsp, SMB_OFF_T start, SMB_OFF_T
                                *pl = *entry;
 
                        DEBUG(10,("delete_posix_lock_entry: type = %s: start=%.0f size=%.0f, num_records = %d\n",
-                                       posix_lock_type_name(pl->lock_type), (double)pl->start, (double)pl->size,
+                                       posix_lock_type_name(entry->lock_type), (double)entry->start, (double)entry->size,
                                        (unsigned int)num_records ));
 
                        /* Found it - delete it. */