summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2005-11-07 16:00:35 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:05:20 -0500
commit9df784b6f2fbcbc117992cc8f5f2a0b8c7d82275 (patch)
treeadf7a4f483d3f5b0c47f57e02451edb4bb63c1e2
parentf99b429446595944991bd2b3e9f4e6a9dd2c13cb (diff)
downloadsamba-9df784b6f2fbcbc117992cc8f5f2a0b8c7d82275.tar.gz
samba-9df784b6f2fbcbc117992cc8f5f2a0b8c7d82275.tar.bz2
samba-9df784b6f2fbcbc117992cc8f5f2a0b8c7d82275.zip
r11556: Fix "make everything"
(This used to be commit bff03f0cd484c04d5ab6d6b66f30191bef368b68)
-rw-r--r--source3/torture/locktest.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/torture/locktest.c b/source3/torture/locktest.c
index a0698162d1..c8336ebaf6 100644
--- a/source3/torture/locktest.c
+++ b/source3/torture/locktest.c
@@ -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);