From 7e70701ab0fd7fa03e79fad62a1903d4037e9852 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 3 Sep 2019 16:15:40 +0200 Subject: [PATCH] vfs: Use file_id_str_buf() in xattr_tdb_setattr() Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- source3/lib/xattr_tdb.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source3/lib/xattr_tdb.c b/source3/lib/xattr_tdb.c index d5d2d8d3ac8..564cdd80965 100644 --- a/source3/lib/xattr_tdb.c +++ b/source3/lib/xattr_tdb.c @@ -230,9 +230,10 @@ int xattr_tdb_setattr(struct db_context *db_ctx, uint32_t i; TDB_DATA data; TALLOC_CTX *frame = talloc_stackframe(); + struct file_id_buf buf; - DEBUG(10, ("xattr_tdb_setattr called for file %s, name %s\n", - file_id_string(frame, id), name)); + DBG_DEBUG("xattr_tdb_setattr called for file %s, name %s\n", + file_id_str_buf(*id, &buf), name); rec = xattr_tdb_lock_attrs(frame, db_ctx, id); -- 2.47.3