Commit 00e6b17e authored by Daniel Salzman's avatar Daniel Salzman

journal: remove superfluous strcpy

parent 12b03578
......@@ -1926,9 +1926,8 @@ int journal_db_list_zones(journal_db_t **db, list_t *zones)
static void _jch_print(const knot_dname_t *zname, int warn_level, const char *format, ...)
{
static char buf[512];
strcpy(buf, "journal check: ");
char *zname_ch;
char buf[512] = "journal check: ";
char *zname_ch = NULL;
va_list args;
va_start(args, format);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment