Skip to content
Snippets Groups Projects
Commit 1bbb8c69 authored by Daniel Salzman's avatar Daniel Salzman
Browse files

knot1to2: fix version output

parent b795e129
No related branches found
No related tags found
No related merge requests found
......@@ -25,6 +25,8 @@
#include "libknot/internal/mem.h"
#include "libknot/internal/trie/hat-trie.h"
#define KNOT1TO2_VERSION "knot1to2, version " PACKAGE_VERSION "\n"
static int run_parser(const char *file_in, int run, share_t *share)
{
extern int cf_parse(void *scanner);
......@@ -199,7 +201,7 @@ int main(int argc, char **argv)
raw = true;
break;
case 'v':
printf("%s, version %s\n", "Knot DNS", PACKAGE_VERSION);
printf(KNOT1TO2_VERSION);
return EXIT_SUCCESS;
case 'h':
help();
......
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