Skip to content
Snippets Groups Projects
Commit ad238dbd authored by Marek Vavrusa's avatar Marek Vavrusa
Browse files

Fixed journal header size after magic bytes update.

refs #1429
parent 8042bdd7
No related branches found
No related tags found
No related merge requests found
......@@ -43,6 +43,7 @@
#include <stdint.h>
#include <fcntl.h>
#include "knot/zone/zone-dump.h"
/*!
* \brief Journal entry flags.
......@@ -124,7 +125,7 @@ typedef int (*journal_apply_t)(journal_t *j, journal_node_t *n);
* Journal defaults and constants.
*/
#define JOURNAL_NCOUNT 1024 /*!< Default node count. */
#define JOURNAL_HSIZE (sizeof(uint16_t) * 3) /*!< max_entries, qhead, qtail */
#define JOURNAL_HSIZE (MAGIC_LENGTH + sizeof(uint16_t) * 3) /*!< magic, max_entries, qhead, qtail */
/*!
* \brief Create new journal.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment