]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Print format spec changes for tapctl and openvpnmscia
authorSelva Nair <selva.nair@gmail.com>
Tue, 25 May 2021 17:38:38 +0000 (13:38 -0400)
committerGert Doering <gert@greenie.muc.de>
Thu, 27 May 2021 07:08:57 +0000 (09:08 +0200)
commita13f6b16b20d7cae7f1ff50d325e13e303c8d3b3
treedb4f09abbcc0a2f2468be8fb8dcdb6969a0027f4
parentea2b153c35723fc2bbcf54ef191a6f0e0ee5371a
Print format spec changes for tapctl and openvpnmscia

The tapctl and openvpnmscia codebase is written with an intent of
supporting both unicode and ansi builds.  This patch does not attempt
to change that although non-unicode support looks untested
and buggy.

The main change is to replace %s by PRIsLPTSR that is defined
as %ls or %s depending on _UNICODE is defined ot not.

v2: add missing ')' and fix whitespace

Signed-off-by: Selva Nair <selva.nair@gmail.com>
Acked-by: Lev Stipakov <lstipakov@gmail.com>
Message-Id: <20210525173838.3969-1-selva.nair@gmail.com>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg22453.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpnmsica/openvpnmsica.c
src/tapctl/main.c
src/tapctl/tap.c