s3 oplocks: Add back procid_str to debug message
authorTim Prouty <tprouty@samba.org>
Tue, 7 Apr 2009 16:49:55 +0000 (09:49 -0700)
committerTim Prouty <tprouty@samba.org>
Tue, 7 Apr 2009 17:14:59 +0000 (10:14 -0700)
source3/smbd/oplock.c

index 98f89ac40c7a858257e7202fdc524cd3831a1c6a..b937e8e07dd1e1cafbc7d8899d466f696d6e08df 100644 (file)
@@ -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);