summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2019-09-03 16:14:28 +0200
committerJeremy Allison <jra@samba.org>2019-09-10 23:14:31 +0000
commit5ca021bd85db7f645b963bbeb89cf6d09ed398f4 (patch)
treea4ec22599696bf55760c1b82e6461e084ec9246d /source3/lib
parentb09c216f5aeea3c41722b938213572012290a543 (diff)
downloadsamba-5ca021bd85db7f645b963bbeb89cf6d09ed398f4.tar.gz
vfs: Use file_id_str_buf() in xattr_tdb_getattr()
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/xattr_tdb.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/lib/xattr_tdb.c b/source3/lib/xattr_tdb.c
index f3a2e19bf5d..d5d2d8d3ac8 100644
--- a/source3/lib/xattr_tdb.c
+++ b/source3/lib/xattr_tdb.c
@@ -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);