svn commit: samba r24034 - in branches: SAMBA_3_2/source/locking SAMBA_3_2_0/source/locking

vlendec at samba.org vlendec at samba.org
Tue Jul 24 11:50:55 GMT 2007


Author: vlendec
Date: 2007-07-24 11:50:54 +0000 (Tue, 24 Jul 2007)
New Revision: 24034

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=24034

Log:
Print the full cluster pid in print_lock_struct

Modified:
   branches/SAMBA_3_2/source/locking/brlock.c
   branches/SAMBA_3_2_0/source/locking/brlock.c


Changeset:
Modified: branches/SAMBA_3_2/source/locking/brlock.c
===================================================================
--- branches/SAMBA_3_2/source/locking/brlock.c	2007-07-24 11:48:35 UTC (rev 24033)
+++ branches/SAMBA_3_2/source/locking/brlock.c	2007-07-24 11:50:54 UTC (rev 24034)
@@ -41,11 +41,11 @@
 
 static void print_lock_struct(unsigned int i, struct lock_struct *pls)
 {
-	DEBUG(10,("[%u]: smbpid = %u, tid = %u, pid = %u, ",
+	DEBUG(10,("[%u]: smbpid = %u, tid = %u, pid = %s, ",
 			i,
 			(unsigned int)pls->context.smbpid,
 			(unsigned int)pls->context.tid,
-			(unsigned int)procid_to_pid(&pls->context.pid) ));
+			procid_str_static(&pls->context.pid) ));
 	
 	DEBUG(10,("start = %.0f, size = %.0f, fnum = %d, %s %s\n",
 		(double)pls->start,

Modified: branches/SAMBA_3_2_0/source/locking/brlock.c
===================================================================
--- branches/SAMBA_3_2_0/source/locking/brlock.c	2007-07-24 11:48:35 UTC (rev 24033)
+++ branches/SAMBA_3_2_0/source/locking/brlock.c	2007-07-24 11:50:54 UTC (rev 24034)
@@ -41,11 +41,11 @@
 
 static void print_lock_struct(unsigned int i, struct lock_struct *pls)
 {
-	DEBUG(10,("[%u]: smbpid = %u, tid = %u, pid = %u, ",
+	DEBUG(10,("[%u]: smbpid = %u, tid = %u, pid = %s, ",
 			i,
 			(unsigned int)pls->context.smbpid,
 			(unsigned int)pls->context.tid,
-			(unsigned int)procid_to_pid(&pls->context.pid) ));
+			procid_str_static(&pls->context.pid) ));
 	
 	DEBUG(10,("start = %.0f, size = %.0f, fnum = %d, %s %s\n",
 		(double)pls->start,



More information about the samba-cvs mailing list