vfs: Use file_id_str_buf() in xattr_tdb_getattr()
authorVolker Lendecke <vl@samba.org>
Tue, 3 Sep 2019 14:14:28 +0000 (16:14 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 10 Sep 2019 23:14:31 +0000 (23:14 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/lib/xattr_tdb.c

index f3a2e19bf5d47fc51e9939f5eea7dc8e70e2475e..d5d2d8d3ac8d30dbd3fbb2a3726633160fb77b4b 100644 (file)
@@ -181,9 +181,10 @@ ssize_t xattr_tdb_getattr(struct db_context *db_ctx,
        ssize_t result = -1;
        NTSTATUS status;
        TALLOC_CTX *frame = talloc_stackframe();
+       struct file_id_buf buf;
 
-       DEBUG(10, ("xattr_tdb_getattr called for file %s, name %s\n",
-                  file_id_string(frame, id), name));
+       DBG_DEBUG("xattr_tdb_getattr called for file %s, name %s\n",
+                 file_id_str_buf(*id, &buf), name);
 
        status = xattr_tdb_load_attrs(frame, db_ctx, id, &attribs);