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