summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Prouty <tprouty@samba.org>2009-04-07 09:49:55 -0700
committerTim Prouty <tprouty@samba.org>2009-04-07 10:14:59 -0700
commit785c19182ba7c0cc15502ee89f2c3ca1cfb1c5e7 (patch)
treed7fd77380e2181253b84979ab7403486c2825097
parent042aaffabf602560877558ac167c69257862b124 (diff)
downloadsamba-785c19182ba7c0cc15502ee89f2c3ca1cfb1c5e7.tar.gz
samba-785c19182ba7c0cc15502ee89f2c3ca1cfb1c5e7.tar.bz2
samba-785c19182ba7c0cc15502ee89f2c3ca1cfb1c5e7.zip
s3 oplocks: Add back procid_str to debug message
-rw-r--r--source3/smbd/oplock.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/smbd/oplock.c b/source3/smbd/oplock.c
index 98f89ac40c..b937e8e07d 100644
--- a/source3/smbd/oplock.c
+++ b/source3/smbd/oplock.c
@@ -422,8 +422,9 @@ void process_oplock_async_level2_break_message(struct messaging_context *msg_ctx
/* De-linearize incoming message. */
message_to_share_mode_entry(&msg, (char *)data->data);
- DEBUG(10, ("Got oplock async level 2 break message from pid %d: %s/%lu\n",
- (int)procid_to_pid(&src), file_id_string_tos(&msg.id), msg.share_file_id));
+ DEBUG(10, ("Got oplock async level 2 break message from pid %s: "
+ "%s/%lu\n", procid_str(debug_ctx(), &src),
+ file_id_string_tos(&msg.id), msg.share_file_id));
fsp = initial_break_processing(msg.id, msg.share_file_id);