aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/nxauth
diff options
context:
space:
mode:
authorOrion Poplawski <orion@cora.nwra.com>2015-02-09 15:58:22 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-02-09 15:58:22 +0100
commit4dac57f3db5b283eb419f1e108cc8510bad1b0af (patch)
tree2150b6635866fd55d457dea3acf83c3f5be9a9cc /nx-X11/programs/nxauth
parent95dbaa6149b496a6851fc6422f54dd8393217269 (diff)
downloadnx-libs-4dac57f3db5b283eb419f1e108cc8510bad1b0af.tar.gz
nx-libs-4dac57f3db5b283eb419f1e108cc8510bad1b0af.tar.bz2
nx-libs-4dac57f3db5b283eb419f1e108cc8510bad1b0af.zip
Fix -Werror=format-security errors (056_nx-X11_Werror-format-security.full.patch).
The below patch fixes more -Werror=format-security errors. Interestingly, most of the errors only showed up on our arm builds. No idea why.
Diffstat (limited to 'nx-X11/programs/nxauth')
-rw-r--r--nx-X11/programs/nxauth/process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/programs/nxauth/process.c b/nx-X11/programs/nxauth/process.c
index 57090e23e..76259d76a 100644
--- a/nx-X11/programs/nxauth/process.c
+++ b/nx-X11/programs/nxauth/process.c
@@ -974,7 +974,7 @@ fprintfhex(register FILE *fp, int len, char *cp)
char *hex;
hex = bintohex(len, cp);
- fprintf(fp, hex);
+ fprintf(fp, "%s", hex);
free(hex);
}