]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: Use file_id_str_buf() in scavenger_add_timer()
authorVolker Lendecke <vl@samba.org>
Sat, 9 Nov 2019 17:53:19 +0000 (18:53 +0100)
committerJeremy Allison <jra@samba.org>
Tue, 12 Nov 2019 20:56:34 +0000 (20:56 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/scavenger.c

index a7c210f664da83762215862e813ec72074cdfcda..cd5c85d28710e9b1110903b6c6f702e11a8ea831 100644 (file)
@@ -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) {