diff options
author | Tim Waugh <twaugh@redhat.com> | 2015-02-24 12:34:14 +0000 |
---|---|---|
committer | Tim Waugh <twaugh@redhat.com> | 2015-02-24 12:34:14 +0000 |
commit | 14206b3c56f426a77d0138583e8f9d999f186afa (patch) | |
tree | 3054e28568a5f6190fba2b948e7aa58b06c6345e | |
parent | 52a18150a7a8f2802000136c35005bc83b5b0855 (diff) | |
download | tigervnc-14206b3c56f426a77d0138583e8f9d999f186afa.tar.gz tigervnc-14206b3c56f426a77d0138583e8f9d999f186afa.zip |
Avoid warning when compiling with gcc's -Wformat-security option.
-rw-r--r-- | vncviewer/vncviewer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vncviewer/vncviewer.cxx b/vncviewer/vncviewer.cxx index 332a81c1..95e19aea 100644 --- a/vncviewer/vncviewer.cxx +++ b/vncviewer/vncviewer.cxx @@ -330,7 +330,7 @@ interpretViaParam(char *remoteHost, int *remotePort, int localPort) snprintf(vncServerName, VNCSERVERNAMELEN, "localhost::%d", localPort); vncServerName[VNCSERVERNAMELEN - 1] = '\0'; - vlog.error(vncServerName); + vlog.error("%s", vncServerName); return 0; } |