From: Ross Burton Date: Mon, 20 Jul 2026 09:38:43 +0000 (+0100) Subject: hwdb: add debug logging for the output filename X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=d024c58b8e9c0ddbed8e02604758b69ae3bd63a2;p=thirdparty%2Fsystemd.git hwdb: add debug logging for the output filename It's useful to see exactly what file was written to when updating the HWDB. --- diff --git a/src/shared/hwdb-util.c b/src/shared/hwdb-util.c index b42681a289c..b3c48e2a5f6 100644 --- a/src/shared/hwdb-util.c +++ b/src/shared/hwdb-util.c @@ -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")",