]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
cleanup: win32.c: wrong printf format
authorAlon Bar-Lev <alon.barlev@gmail.com>
Wed, 29 Feb 2012 20:11:35 +0000 (22:11 +0200)
committerDavid Sommerseth <davids@redhat.com>
Thu, 22 Mar 2012 21:06:52 +0000 (22:06 +0100)
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
Acked-by: Adriaan de Jong <dejong@fox-it.com>
Acked-by: David Sommerseth <davids@redhat.com>
Signed-off-by: David Sommerseth <davids@redhat.com>
win32.c

diff --git a/win32.c b/win32.c
index 2ba97fcf3bd08de78883e9ccd2ffbd0e29dee4f6..acf5ebc19888adf898094ad4c70e23992d49f038 100644 (file)
--- a/win32.c
+++ b/win32.c
@@ -1012,12 +1012,12 @@ openvpn_execve (const struct argv *a, const struct env_set *es, const unsigned i
                  if (GetExitCodeProcess (proc_info.hProcess, &exit_status))
                    ret = (int)exit_status;
                  else
-                   msg (M_WARN|M_ERRNO, "openvpn_execve: GetExitCodeProcess %s failed", cmd);
+                   msg (M_WARN|M_ERRNO, "openvpn_execve: GetExitCodeProcess %S failed", cmd);
                  CloseHandle (proc_info.hProcess);
                }
              else
                {
-                 msg (M_WARN|M_ERRNO, "openvpn_execve: CreateProcess %s failed", cmd);
+                 msg (M_WARN|M_ERRNO, "openvpn_execve: CreateProcess %S failed", cmd);
                }
              free (env);
              gc_free (&gc);