r11556: Fix "make everything"
authorVolker Lendecke <vlendec@samba.org>
Mon, 7 Nov 2005 16:00:35 +0000 (16:00 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:05:20 +0000 (11:05 -0500)
(This used to be commit bff03f0cd484c04d5ab6d6b66f30191bef368b68)

source3/torture/locktest.c

index a0698162d1c4da2b4833f883a3fb2fa3923f67d0..c8336ebaf66daf90ab0098be033515e22f71260f 100644 (file)
@@ -99,7 +99,7 @@ static struct record preset[] = {
 
 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 @@ static void print_brl(SMB_DEV_T dev, SMB_INO_T ino, int pid,
        }
 #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);