mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
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:
committed by
Zbigniew Jędrzejewski-Szmek
parent
1d26bac43f
commit
ade882f16f
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user