Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix format warning in openconnect_win32__strerror()
DWORD needs to be printed with %lx not %x.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
  • Loading branch information
David Woodhouse authored and David Woodhouse committed Sep 3, 2016
1 parent 6b54792 commit 487d08c
Show file tree
Hide file tree
Showing 111 changed files with 127 additions and 127 deletions.
2 changes: 1 addition & 1 deletion compat.c
Expand Up @@ -204,7 +204,7 @@ char *openconnect__win32_strerror(DWORD err)
NULL, err,
MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
(LPWSTR)&msgw, 0, NULL)) {
if (asprintf(&msgutf8, _("(error 0x%x)"), err) != -1)
if (asprintf(&msgutf8, _("(error 0x%lx)"), err) != -1)
return msgutf8;
fail:
return strdup(_("(Error while describing error!)"));
Expand Down
2 changes: 1 addition & 1 deletion po/af.po
Expand Up @@ -286,7 +286,7 @@ msgstr ""

#: compat.c:207
#, c-format
msgid "(error 0x%x)"
msgid "(error 0x%lx)"
msgstr ""

#: compat.c:210
Expand Down
2 changes: 1 addition & 1 deletion po/am.po
Expand Up @@ -286,7 +286,7 @@ msgstr ""

#: compat.c:207
#, c-format
msgid "(error 0x%x)"
msgid "(error 0x%lx)"
msgstr ""

#: compat.c:210
Expand Down
2 changes: 1 addition & 1 deletion po/ar.po
Expand Up @@ -289,7 +289,7 @@ msgstr ""

#: compat.c:207
#, c-format
msgid "(error 0x%x)"
msgid "(error 0x%lx)"
msgstr ""

#: compat.c:210
Expand Down
2 changes: 1 addition & 1 deletion po/as.po
Expand Up @@ -287,7 +287,7 @@ msgstr ""

#: compat.c:207
#, c-format
msgid "(error 0x%x)"
msgid "(error 0x%lx)"
msgstr ""

#: compat.c:210
Expand Down
2 changes: 1 addition & 1 deletion po/ast.po
Expand Up @@ -285,7 +285,7 @@ msgstr ""

#: compat.c:207
#, c-format
msgid "(error 0x%x)"
msgid "(error 0x%lx)"
msgstr ""

#: compat.c:210
Expand Down
2 changes: 1 addition & 1 deletion po/az.po
Expand Up @@ -286,7 +286,7 @@ msgstr ""

#: compat.c:207
#, c-format
msgid "(error 0x%x)"
msgid "(error 0x%lx)"
msgstr ""

#: compat.c:210
Expand Down
2 changes: 1 addition & 1 deletion po/be.po
Expand Up @@ -287,7 +287,7 @@ msgstr ""

#: compat.c:207
#, c-format
msgid "(error 0x%x)"
msgid "(error 0x%lx)"
msgstr ""

#: compat.c:210
Expand Down
2 changes: 1 addition & 1 deletion po/bg.po
Expand Up @@ -288,7 +288,7 @@ msgstr ""

#: compat.c:207
#, c-format
msgid "(error 0x%x)"
msgid "(error 0x%lx)"
msgstr ""

#: compat.c:210
Expand Down
2 changes: 1 addition & 1 deletion po/bg_BG.po
Expand Up @@ -286,7 +286,7 @@ msgstr ""

#: compat.c:207
#, c-format
msgid "(error 0x%x)"
msgid "(error 0x%lx)"
msgstr ""

#: compat.c:210
Expand Down
2 changes: 1 addition & 1 deletion po/bn.po
Expand Up @@ -285,7 +285,7 @@ msgstr ""

#: compat.c:207
#, c-format
msgid "(error 0x%x)"
msgid "(error 0x%lx)"
msgstr ""

#: compat.c:210
Expand Down
2 changes: 1 addition & 1 deletion po/bn_IN.po
Expand Up @@ -286,7 +286,7 @@ msgstr ""

#: compat.c:207
#, c-format
msgid "(error 0x%x)"
msgid "(error 0x%lx)"
msgstr ""

#: compat.c:210
Expand Down
2 changes: 1 addition & 1 deletion po/br.po
Expand Up @@ -286,7 +286,7 @@ msgstr ""

#: compat.c:207
#, c-format
msgid "(error 0x%x)"
msgid "(error 0x%lx)"
msgstr ""

#: compat.c:210
Expand Down
4 changes: 2 additions & 2 deletions po/bs.po
Expand Up @@ -296,8 +296,8 @@ msgstr "Osvježavanje %s poslije 1 sekundi...\n"

#: compat.c:207
#, c-format
msgid "(error 0x%x)"
msgstr "(greška 0h%x)"
msgid "(error 0x%lx)"
msgstr "(greška 0h%lx)"

#: compat.c:210
msgid "(Error while describing error!)"
Expand Down
4 changes: 2 additions & 2 deletions po/ca.po
Expand Up @@ -306,8 +306,8 @@ msgstr "S'està refrescant %s després d'1 segon ...\n"

#: compat.c:207
#, c-format
msgid "(error 0x%x)"
msgstr "(Error 0x%x)"
msgid "(error 0x%lx)"
msgstr "(Error 0x%lx)"

#: compat.c:210
msgid "(Error while describing error!)"
Expand Down
2 changes: 1 addition & 1 deletion po/ca@valencia.po
Expand Up @@ -286,7 +286,7 @@ msgstr ""

#: compat.c:207
#, c-format
msgid "(error 0x%x)"
msgid "(error 0x%lx)"
msgstr ""

#: compat.c:210
Expand Down
2 changes: 1 addition & 1 deletion po/crh.po
Expand Up @@ -286,7 +286,7 @@ msgstr ""

#: compat.c:207
#, c-format
msgid "(error 0x%x)"
msgid "(error 0x%lx)"
msgstr ""

#: compat.c:210
Expand Down
4 changes: 2 additions & 2 deletions po/cs.po
Expand Up @@ -305,8 +305,8 @@ msgstr "Obnova %s po 1 sekundě...\n"

#: compat.c:207
#, c-format
msgid "(error 0x%x)"
msgstr "(chyba 0x%x)"
msgid "(error 0x%lx)"
msgstr "(chyba 0x%lx)"

#: compat.c:210
msgid "(Error while describing error!)"
Expand Down
2 changes: 1 addition & 1 deletion po/cy.po
Expand Up @@ -287,7 +287,7 @@ msgstr ""

#: compat.c:207
#, c-format
msgid "(error 0x%x)"
msgid "(error 0x%lx)"
msgstr ""

#: compat.c:210
Expand Down
2 changes: 1 addition & 1 deletion po/da.po
Expand Up @@ -285,7 +285,7 @@ msgstr ""

#: compat.c:207
#, c-format
msgid "(error 0x%x)"
msgid "(error 0x%lx)"
msgstr ""

#: compat.c:210
Expand Down
4 changes: 2 additions & 2 deletions po/de.po
Expand Up @@ -305,8 +305,8 @@ msgstr "%s wird ach einer Sekunde aktualisiert …\n"

#: compat.c:207
#, c-format
msgid "(error 0x%x)"
msgstr "(Fehler 0x%x)"
msgid "(error 0x%lx)"
msgstr "(Fehler 0x%lx)"

#: compat.c:210
msgid "(Error while describing error!)"
Expand Down
2 changes: 1 addition & 1 deletion po/dz.po
Expand Up @@ -286,7 +286,7 @@ msgstr ""

#: compat.c:207
#, c-format
msgid "(error 0x%x)"
msgid "(error 0x%lx)"
msgstr ""

#: compat.c:210
Expand Down
2 changes: 1 addition & 1 deletion po/el.po
Expand Up @@ -294,7 +294,7 @@ msgstr "Ανανέωση του %s μετά από 1 δευτερόλεπτο...

#: compat.c:207
#, c-format
msgid "(error 0x%x)"
msgid "(error 0x%lx)"
msgstr ""

#: compat.c:210
Expand Down
2 changes: 1 addition & 1 deletion po/en_CA.po
Expand Up @@ -286,7 +286,7 @@ msgstr ""

#: compat.c:207
#, c-format
msgid "(error 0x%x)"
msgid "(error 0x%lx)"
msgstr ""

#: compat.c:210
Expand Down
2 changes: 1 addition & 1 deletion po/en_GB.po
Expand Up @@ -292,7 +292,7 @@ msgstr "Refreshing %s after 1 second...\n"

#: compat.c:207
#, c-format
msgid "(error 0x%x)"
msgid "(error 0x%lx)"
msgstr ""

#: compat.c:210
Expand Down
2 changes: 1 addition & 1 deletion po/en_US.po
Expand Up @@ -292,7 +292,7 @@ msgstr "Refreshing %s after 1 second...\n"

#: compat.c:207
#, c-format
msgid "(error 0x%x)"
msgid "(error 0x%lx)"
msgstr ""

#: compat.c:210
Expand Down
2 changes: 1 addition & 1 deletion po/eo.po
Expand Up @@ -286,7 +286,7 @@ msgstr ""

#: compat.c:207
#, c-format
msgid "(error 0x%x)"
msgid "(error 0x%lx)"
msgstr ""

#: compat.c:210
Expand Down
4 changes: 2 additions & 2 deletions po/es.po
Expand Up @@ -305,8 +305,8 @@ msgstr "Actualizando %s tras 1 segundo…\n"

#: compat.c:207
#, c-format
msgid "(error 0x%x)"
msgstr "(error 0x%x)"
msgid "(error 0x%lx)"
msgstr "(error 0x%lx)"

#: compat.c:210
msgid "(Error while describing error!)"
Expand Down
2 changes: 1 addition & 1 deletion po/es_CR.po
Expand Up @@ -286,7 +286,7 @@ msgstr ""

#: compat.c:207
#, c-format
msgid "(error 0x%x)"
msgid "(error 0x%lx)"
msgstr ""

#: compat.c:210
Expand Down
2 changes: 1 addition & 1 deletion po/es_MX.po
Expand Up @@ -286,7 +286,7 @@ msgstr ""

#: compat.c:207
#, c-format
msgid "(error 0x%x)"
msgid "(error 0x%lx)"
msgstr ""

#: compat.c:210
Expand Down
2 changes: 1 addition & 1 deletion po/et.po
Expand Up @@ -286,7 +286,7 @@ msgstr ""

#: compat.c:207
#, c-format
msgid "(error 0x%x)"
msgid "(error 0x%lx)"
msgstr ""

#: compat.c:210
Expand Down
2 changes: 1 addition & 1 deletion po/eu.po
Expand Up @@ -297,7 +297,7 @@ msgstr "'%s' freskatzen segundo 1en ondoren...\n"

#: compat.c:207
#, c-format
msgid "(error 0x%x)"
msgid "(error 0x%lx)"
msgstr ""

#: compat.c:210
Expand Down
2 changes: 1 addition & 1 deletion po/fa.po
Expand Up @@ -285,7 +285,7 @@ msgstr ""

#: compat.c:207
#, c-format
msgid "(error 0x%x)"
msgid "(error 0x%lx)"
msgstr ""

#: compat.c:210
Expand Down
4 changes: 2 additions & 2 deletions po/fi.po
Expand Up @@ -289,8 +289,8 @@ msgstr ""

#: compat.c:207
#, c-format
msgid "(error 0x%x)"
msgstr "(virhe 0x%x)"
msgid "(error 0x%lx)"
msgstr "(virhe 0x%lx)"

#: compat.c:210
msgid "(Error while describing error!)"
Expand Down
2 changes: 1 addition & 1 deletion po/fr.po
Expand Up @@ -288,7 +288,7 @@ msgstr ""

#: compat.c:207
#, c-format
msgid "(error 0x%x)"
msgid "(error 0x%lx)"
msgstr ""

#: compat.c:210
Expand Down
2 changes: 1 addition & 1 deletion po/ga.po
Expand Up @@ -287,7 +287,7 @@ msgstr ""

#: compat.c:207
#, c-format
msgid "(error 0x%x)"
msgid "(error 0x%lx)"
msgstr ""

#: compat.c:210
Expand Down
2 changes: 1 addition & 1 deletion po/gd.po
Expand Up @@ -286,7 +286,7 @@ msgstr ""

#: compat.c:207
#, c-format
msgid "(error 0x%x)"
msgid "(error 0x%lx)"
msgstr ""

#: compat.c:210
Expand Down
2 changes: 1 addition & 1 deletion po/gl.po
Expand Up @@ -286,7 +286,7 @@ msgstr ""

#: compat.c:207
#, c-format
msgid "(error 0x%x)"
msgid "(error 0x%lx)"
msgstr ""

#: compat.c:210
Expand Down
2 changes: 1 addition & 1 deletion po/gu.po
Expand Up @@ -286,7 +286,7 @@ msgstr ""

#: compat.c:207
#, c-format
msgid "(error 0x%x)"
msgid "(error 0x%lx)"
msgstr ""

#: compat.c:210
Expand Down
2 changes: 1 addition & 1 deletion po/he.po
Expand Up @@ -285,7 +285,7 @@ msgstr ""

#: compat.c:207
#, c-format
msgid "(error 0x%x)"
msgid "(error 0x%lx)"
msgstr ""

#: compat.c:210
Expand Down
2 changes: 1 addition & 1 deletion po/hi.po
Expand Up @@ -285,7 +285,7 @@ msgstr ""

#: compat.c:207
#, c-format
msgid "(error 0x%x)"
msgid "(error 0x%lx)"
msgstr ""

#: compat.c:210
Expand Down
2 changes: 1 addition & 1 deletion po/hi_IN.po
Expand Up @@ -286,7 +286,7 @@ msgstr ""

#: compat.c:207
#, c-format
msgid "(error 0x%x)"
msgid "(error 0x%lx)"
msgstr ""

#: compat.c:210
Expand Down
2 changes: 1 addition & 1 deletion po/hr.po
Expand Up @@ -287,7 +287,7 @@ msgstr ""

#: compat.c:207
#, c-format
msgid "(error 0x%x)"
msgid "(error 0x%lx)"
msgstr ""

#: compat.c:210
Expand Down

0 comments on commit 487d08c

Please sign in to comment.