vfs: Modernize a DEBUG statement
authorVolker Lendecke <vl@samba.org>
Tue, 21 Dec 2021 11:54:56 +0000 (12:54 +0100)
committerJeremy Allison <jra@samba.org>
Wed, 5 Jan 2022 00:11:38 +0000 (00:11 +0000)
Fix the function name printed

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/modules/vfs_streams_xattr.c

index 76b23c7224f7854b2cd953126b7a5925fe509491..682d492fee3dc7bd853a182efaab3a2c20441fa0 100644 (file)
@@ -330,8 +330,9 @@ static int streams_xattr_openat(struct vfs_handle_struct *handle,
        SMB_VFS_HANDLE_GET_DATA(handle, config, struct streams_xattr_config,
                                return -1);
 
-       DEBUG(10, ("streams_xattr_open called for %s with flags 0x%x\n",
-                  smb_fname_str_dbg(smb_fname), flags));
+       DBG_DEBUG("called for %s with flags 0x%x\n",
+                 smb_fname_str_dbg(smb_fname),
+                 flags);
 
        if (!is_named_stream(smb_fname)) {
                return SMB_VFS_NEXT_OPENAT(handle,