Skip to content

Commit 2292d37

Browse files
committed
sd-journal: fix typo in function name
1 parent 5c31441 commit 2292d37

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/libsystemd/sd-journal/sd-journal.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ DEFINE_PRIVATE_ORIGIN_ID_HELPERS(sd_journal, journal);
5757

5858
static void remove_file_real(sd_journal *j, JournalFile *f);
5959
static int journal_file_read_tail_timestamp(sd_journal *j, JournalFile *f);
60-
static void journal_file_unlink_newest_by_bood_id(sd_journal *j, JournalFile *f);
60+
static void journal_file_unlink_newest_by_boot_id(sd_journal *j, JournalFile *f);
6161

6262
static int journal_put_error(sd_journal *j, int r, const char *path) {
6363
_cleanup_free_ char *copy = NULL;
@@ -1570,7 +1570,7 @@ static void remove_file_real(sd_journal *j, JournalFile *f) {
15701570
j->fields_file_lost = true;
15711571
}
15721572

1573-
journal_file_unlink_newest_by_bood_id(j, f);
1573+
journal_file_unlink_newest_by_boot_id(j, f);
15741574
(void) journal_file_close(f);
15751575

15761576
j->current_invalidate_counter++;
@@ -2277,7 +2277,7 @@ _public_ void sd_journal_close(sd_journal *j) {
22772277
return;
22782278

22792279
while ((p = hashmap_first(j->newest_by_boot_id)))
2280-
journal_file_unlink_newest_by_bood_id(j, prioq_peek(p));
2280+
journal_file_unlink_newest_by_boot_id(j, prioq_peek(p));
22812281
hashmap_free(j->newest_by_boot_id);
22822282

22832283
sd_journal_flush_matches(j);
@@ -2314,7 +2314,7 @@ _public_ void sd_journal_close(sd_journal *j) {
23142314
free(j);
23152315
}
23162316

2317-
static void journal_file_unlink_newest_by_bood_id(sd_journal *j, JournalFile *f) {
2317+
static void journal_file_unlink_newest_by_boot_id(sd_journal *j, JournalFile *f) {
23182318
JournalFile *nf;
23192319
Prioq *p;
23202320

@@ -2465,7 +2465,7 @@ static int journal_file_read_tail_timestamp(sd_journal *j, JournalFile *f) {
24652465
return -ENODATA;
24662466

24672467
if (!sd_id128_equal(f->newest_boot_id, id))
2468-
journal_file_unlink_newest_by_bood_id(j, f);
2468+
journal_file_unlink_newest_by_boot_id(j, f);
24692469

24702470
f->newest_boot_id = id;
24712471
f->newest_monotonic_usec = mo;

0 commit comments

Comments
 (0)