hwdb: add debug logging for the output filename

It's useful to see exactly what file was written to when updating the
HWDB.
This commit is contained in:
Ross Burton
2026-07-20 11:24:57 +01:00
parent 79f25def86
commit d024c58b8e
+1
View File
@@ -418,6 +418,7 @@ static int trie_store(struct trie *trie, const char *filename, bool compat) {
/* write succeeded */
log_debug("=== trie on-disk ===");
log_debug("filename: %s", filename);
log_debug("size: %8"PRIi64" bytes", size);
log_debug("header: %8zu bytes", sizeof(struct trie_header_f));
log_debug("nodes: %8"PRIu64" bytes (%8"PRIu64")",