summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-05-04 00:29:50 +0000
committerJeremy Allison <jra@samba.org>2000-05-04 00:29:50 +0000
commit05a28f1dfdb57561812f1d490c2c6453a9d59136 (patch)
tree772c4579aa2c7904f4610cd0c56f9be88eb076ae
parent7de6b0474bc6b279d6bf45ae63f04fc2066f85f8 (diff)
downloadsamba-05a28f1dfdb57561812f1d490c2c6453a9d59136.tar.gz
samba-05a28f1dfdb57561812f1d490c2c6453a9d59136.tar.bz2
samba-05a28f1dfdb57561812f1d490c2c6453a9d59136.zip
Fix for debug statement crash.
Jeremy. (This used to be commit 57bf92d90147b207664152d44ce4bfb5235dc7d8)
-rw-r--r--source3/locking/posix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/locking/posix.c b/source3/locking/posix.c
index 752311e76f..45d139b734 100644
--- a/source3/locking/posix.c
+++ b/source3/locking/posix.c
@@ -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. */