From: Miroslav Lichvar Date: Tue, 16 Jul 2019 11:30:05 +0000 (+0200) Subject: test: fix building of unit tests X-Git-Tag: 4.0-pre1~182 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a073f383e6f0765019d0daa6dcead27eddb01884;p=thirdparty%2Fchrony.git test: fix building of unit tests This fixes commit 1227873b8810ed0f82d4b85a3c19c9562fda0b91. --- diff --git a/test/unit/test.c b/test/unit/test.c index fbfeb4b4..482d83f5 100644 --- a/test/unit/test.c +++ b/test/unit/test.c @@ -57,7 +57,7 @@ main(int argc, char **argv) for (i = 1; i < argc; i++) { if (!strcmp(argv[i], "-d")) { - LOG_SetDebugLevel(2); + LOG_SetMinSeverity(LOGS_DEBUG); } else if (!strcmp(argv[i], "-s") && i + 1 < argc) { seed = atoi(argv[++i]); } else {