sd-journal: fix a copy-paste error

Dereference the Directory pointer in the debug message instead of the
(probably already freed) JournalFile one.
This commit is contained in:
Frantisek Sumsal
2025-11-26 00:36:03 +01:00
committed by Zbigniew Jędrzejewski-Szmek
parent 1d26bac43f
commit ade882f16f
+1 -1
View File
@@ -3048,7 +3048,7 @@ static void process_q_overflow(sd_journal *j) {
if (m->is_root) /* Never GC root directories */
continue;
log_debug("Directory '%s' hasn't been seen in this enumeration, removing.", f->path);
log_debug("Directory '%s' hasn't been seen in this enumeration, removing.", m->path);
directory_free(m);
}