X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fcygwin%2Fdevice.c;h=1165d675cf5281d14fa36e05744b266ae88f83e7;hp=3a242bfaa3c2f589d2d8e608b3e4fddc17ed2f4c;hb=061c3fcaf9c63978009dc2707071f8daef8751b2;hpb=afda1d91ae290ac2aa2a45d07fa6838b3159da39 diff --git a/src/cygwin/device.c b/src/cygwin/device.c index 3a242bfa..1165d675 100644 --- a/src/cygwin/device.c +++ b/src/cygwin/device.c @@ -37,7 +37,7 @@ int device_fd = -1; static HANDLE device_handle = INVALID_HANDLE_VALUE; char *device = NULL; char *iface = NULL; -static char *device_info = NULL; +static const char *device_info = "Windows tap device"; static uint64_t device_total_in = 0; static uint64_t device_total_out = 0; @@ -221,8 +221,6 @@ static bool setup_device(void) { return false; } - device_info = "Windows tap device"; - logger(LOG_INFO, "%s (%s) is a %s", device, iface, device_info); return true;