diff options
author | Pierre Ossman <ossman@cendio.se> | 2013-07-01 14:00:20 +0000 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2013-07-01 14:00:20 +0000 |
commit | e0b3296ed9a32542d5d7b65d68e420dee5da8c16 (patch) | |
tree | 7e71ca8d2119b4f3366528e66cc879c2e729e895 | |
parent | ecb957b0037440b608e32a893be09c93db97ad50 (diff) | |
download | tigervnc-e0b3296ed9a32542d5d7b65d68e420dee5da8c16.tar.gz tigervnc-e0b3296ed9a32542d5d7b65d68e420dee5da8c16.zip |
Copy r5126 from trunk.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1_3@5127 3789f03b-4d11-0410-bbf8-ca57d06f2519
-rw-r--r-- | vncviewer/parameters.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vncviewer/parameters.cxx b/vncviewer/parameters.cxx index 6c2af38a..68ddee1a 100644 --- a/vncviewer/parameters.cxx +++ b/vncviewer/parameters.cxx @@ -523,8 +523,8 @@ void saveViewerParameters(const char *filename, const char *servername) { /* Write parameters to file */ FILE* f = fopen(filepath, "w+"); if (!f) { - snprintf(write_error, sizeof(filepath), "Failed to write configuration file, " - "can't open %s", filepath); + snprintf(write_error, sizeof(write_error), + "Failed to write configuration file, can't open %s", filepath); throw Exception(write_error); } |