From: Jeremy Allison Date: Thu, 4 May 2000 00:29:50 +0000 (+0000) Subject: Fix for debug statement crash. X-Git-Tag: samba-4.0.0alpha6~801^2~19942 X-Git-Url: http://git.samba.org/samba.git/?p=kamenim%2Fsamba-autobuild%2F.git;a=commitdiff_plain;h=05a28f1dfdb57561812f1d490c2c6453a9d59136 Fix for debug statement crash. Jeremy. (This used to be commit 57bf92d90147b207664152d44ce4bfb5235dc7d8) --- diff --git a/source3/locking/posix.c b/source3/locking/posix.c index 752311e76f5..45d139b7342 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. */