diff options
Diffstat (limited to 'src/openvpn/tun.c')
-rw-r--r-- | src/openvpn/tun.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openvpn/tun.c b/src/openvpn/tun.c index 7b74ebd..9df7126 100644 --- a/src/openvpn/tun.c +++ b/src/openvpn/tun.c @@ -3624,7 +3624,7 @@ get_adapter_index_method_1 (const char *guid) ULONG index = ~0; DWORD status; wchar_t wbuf[256]; - snwprintf (wbuf, SIZE (wbuf), L"\\DEVICE\\TCPIP_%S", guid); + _snwprintf (wbuf, SIZE (wbuf), L"\\DEVICE\\TCPIP_%S", guid); wbuf [SIZE(wbuf) - 1] = 0; if ((status = GetAdapterIndex (wbuf, &index)) != NO_ERROR) index = ~0; |