svn commit: samba r11556 - branches/SAMBA_3_0/source/torture
trunk/source/torture
vlendec at samba.org
vlendec at samba.org
Mon Nov 7 16:00:36 GMT 2005
Author: vlendec
Date: 2005-11-07 16:00:35 +0000 (Mon, 07 Nov 2005)
New Revision: 11556
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=11556
Log:
Fix "make everything"
Modified:
branches/SAMBA_3_0/source/torture/locktest.c
trunk/source/torture/locktest.c
Changeset:
Modified: branches/SAMBA_3_0/source/torture/locktest.c
===================================================================
--- branches/SAMBA_3_0/source/torture/locktest.c 2005-11-07 15:36:51 UTC (rev 11555)
+++ branches/SAMBA_3_0/source/torture/locktest.c 2005-11-07 16:00:35 UTC (rev 11556)
@@ -99,7 +99,7 @@
static struct record *recorded;
-static void print_brl(SMB_DEV_T dev, SMB_INO_T ino, int pid,
+static void print_brl(SMB_DEV_T dev, SMB_INO_T ino, struct process_id pid,
enum brl_type lock_type,
br_off start, br_off size)
{
@@ -117,8 +117,8 @@
}
#endif
- printf("%6d %05x:%05x %s %.0f:%.0f(%.0f)\n",
- (int)pid, (int)dev, (int)ino,
+ printf("%s %05x:%05x %s %.0f:%.0f(%.0f)\n",
+ procid_str_static(&pid), (int)dev, (int)ino,
lock_type==READ_LOCK?"R":"W",
(double)start, (double)start+size-1,(double)size);
Modified: trunk/source/torture/locktest.c
===================================================================
--- trunk/source/torture/locktest.c 2005-11-07 15:36:51 UTC (rev 11555)
+++ trunk/source/torture/locktest.c 2005-11-07 16:00:35 UTC (rev 11556)
@@ -99,7 +99,7 @@
static struct record *recorded;
-static void print_brl(SMB_DEV_T dev, SMB_INO_T ino, int pid,
+static void print_brl(SMB_DEV_T dev, SMB_INO_T ino, struct process_id pid,
enum brl_type lock_type,
br_off start, br_off size)
{
@@ -117,8 +117,8 @@
}
#endif
- printf("%6d %05x:%05x %s %.0f:%.0f(%.0f)\n",
- (int)pid, (int)dev, (int)ino,
+ printf("%s %05x:%05x %s %.0f:%.0f(%.0f)\n",
+ procid_str_static(&pid), (int)dev, (int)ino,
lock_type==READ_LOCK?"R":"W",
(double)start, (double)start+size-1,(double)size);
More information about the samba-cvs
mailing list