]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: Modernize a DEBUG
authorVolker Lendecke <vl@samba.org>
Thu, 23 Oct 2025 17:24:42 +0000 (19:24 +0200)
committerVolker Lendecke <vl@samba.org>
Mon, 10 Nov 2025 13:29:30 +0000 (13:29 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Anoop C S <anoopcs@samba.org>
source3/smbd/files.c

index 11609522fb7d4a85bc6b3bc95c3d30010d501a26..3c03f7b8dd396d1fac5bb186380517c1eed538a4 100644 (file)
@@ -2607,9 +2607,7 @@ static NTSTATUS file_name_hash(connection_struct *conn,
        key = (TDB_DATA) { .dptr = (uint8_t *)fullpath, .dsize = len+1 };
        *p_name_hash = tdb_jenkins_hash(&key);
 
-       DEBUG(10,("file_name_hash: %s hash 0x%x\n",
-                 fullpath,
-               (unsigned int)*p_name_hash ));
+       DBG_DEBUG("%s hash 0x%" PRIx32 "\n", fullpath, *p_name_hash);
 
        TALLOC_FREE(to_free);
        return NT_STATUS_OK;