vfs: Use file_id_str_buf() in xattr_tdb_setattr()
authorVolker Lendecke <vl@samba.org>
Tue, 3 Sep 2019 14:15:40 +0000 (16:15 +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 d5d2d8d3ac8d30dbd3fbb2a3726633160fb77b4b..564cdd80965c29adca18079f1872586d3584ae0c 100644 (file)
@@ -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);