X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fcygwin%2Fdevice.c;h=6d94988e34b8a8472ee58e944fc2180ee4ff8012;hb=65f48924ff16a8471ad4464de1ee547bfb8a114c;hp=1265f9d596a2c23303e92bf25d3602411257d388;hpb=87f96aec8c48327d879c20ff2b789c88a675173d;p=tinc diff --git a/src/cygwin/device.c b/src/cygwin/device.c index 1265f9d5..6d94988e 100644 --- a/src/cygwin/device.c +++ b/src/cygwin/device.c @@ -38,7 +38,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 pid_t reader_pid; static int sp[2]; @@ -219,8 +219,6 @@ static bool setup_device(void) { return false; } - device_info = "Windows tap device"; - logger(DEBUG_ALWAYS, LOG_INFO, "%s (%s) is a %s", device, iface, device_info); return true;