From: Volker Lendecke Date: Sat, 9 Nov 2019 17:53:19 +0000 (+0100) Subject: smbd: Use file_id_str_buf() in scavenger_add_timer() X-Git-Tag: talloc-2.3.1~86 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b0a486fabefaabd63cd2838e503360c0865e21dc;p=thirdparty%2Fsamba.git smbd: Use file_id_str_buf() in scavenger_add_timer() Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- diff --git a/source3/smbd/scavenger.c b/source3/smbd/scavenger.c index a7c210f664d..cd5c85d2871 100644 --- a/source3/smbd/scavenger.c +++ b/source3/smbd/scavenger.c @@ -500,12 +500,13 @@ static void scavenger_add_timer(struct smbd_scavenger_state *state, struct tevent_timer *te; struct scavenger_timer_context *ctx; struct timeval until; + struct file_id_buf idbuf; nttime_to_timeval(&until, msg->until); - DEBUG(10, ("scavenger: schedule file %s for cleanup at %s\n", - file_id_string_tos(&msg->file_id), - timeval_string(talloc_tos(), &until, true))); + DBG_DEBUG("schedule file %s for cleanup at %s\n", + file_id_str_buf(msg->file_id, &idbuf), + timeval_string(talloc_tos(), &until, true)); ctx = talloc_zero(state, struct scavenger_timer_context); if (ctx == NULL) {