From: Guus Sliepen Date: Thu, 14 Apr 2016 15:05:10 +0000 (+0200) Subject: Fix compiling under MinGW. X-Git-Tag: release-1.1pre12~38 X-Git-Url: https://git.tinc-vpn.org/git/browse?a=commitdiff_plain;h=491839a81aba00d4af50b66563cedaac4fa7028c;p=tinc Fix compiling under MinGW. --- diff --git a/src/mingw/device.c b/src/mingw/device.c index cc65264f..b0476155 100644 --- a/src/mingw/device.c +++ b/src/mingw/device.c @@ -102,7 +102,7 @@ static bool setup_device(void) { get_config_string(lookup_config(config_tree, "Interface"), &iface); if(device && iface) - logger(LOG_WARNING, "Warning: both Device and Interface specified, results may not be as expected"); + logger(DEBUG_ALWAYS, LOG_WARNING, "Warning: both Device and Interface specified, results may not be as expected"); /* Open registry and look for network adapters */