]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: Modernize a DEBUG
authorVolker Lendecke <vl@samba.org>
Sat, 31 Jan 2026 10:09:59 +0000 (11:09 +0100)
committerAnoop C S <anoopcs@samba.org>
Sun, 15 Feb 2026 10:42:34 +0000 (10:42 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Anoop C S <anoopcs@samba.org>
source3/smbd/smb1_reply.c

index 152b2641e16a8606c16db9acde5d83c53fcf2124..5aee828b496945601483a5e0b39a5e35f723e8c3 100644 (file)
@@ -4740,8 +4740,11 @@ void reply_lseek(struct smb_request *req)
        reply_smb1_outbuf(req, 2, 0);
        SIVAL(req->outbuf,smb_vwv0,res);
 
-       DEBUG(3,("lseek %s ofs=%.0f newpos = %.0f mode=%d\n",
-               fsp_fnum_dbg(fsp), (double)startpos, (double)res, mode));
+       DBG_NOTICE("lseek %s ofs=%ju newpos =%ju mode=%d\n",
+                  fsp_fnum_dbg(fsp),
+                  (uintmax_t)startpos,
+                  (uintmax_t)res,
+                  mode);
 
        END_PROFILE(SMBlseek);
        return;