chiark / gitweb /
journald: fix vacuuming of archived journals
authorGeorge McCollister <george.mccollister@gmail.com>
Wed, 4 Sep 2013 12:12:43 +0000 (07:12 -0500)
committerHarald Hoyer <harald@redhat.com>
Fri, 6 Sep 2013 05:07:54 +0000 (07:07 +0200)
commit629bfc5a7fbbe4861b5cde857140f623d5de5ec5
tree625cfde97d76fb3b270b8935e78b1c6f24a87215
parent756c9a2499ca377b9e96ea6fc6911ff64040174e
journald: fix vacuuming of archived journals

d_name is modified on line 227 so if the entire journal name is needed
again p must be used. Before this change when journal_file_empty was called
on archived journals it would always return with -2.

Signed-off-by: George McCollister <george.mccollister@gmail.com>
src/journal/journal-vacuum.c