From: Volker Lendecke Date: Tue, 3 Sep 2019 14:14:28 +0000 (+0200) Subject: vfs: Use file_id_str_buf() in xattr_tdb_getattr() X-Git-Tag: talloc-2.3.1~927 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5ca021bd85db7f645b963bbeb89cf6d09ed398f4;p=thirdparty%2Fsamba.git vfs: Use file_id_str_buf() in xattr_tdb_getattr() Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- 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);