aboutsummaryrefslogtreecommitdiffstats
path: root/win/rfb_win32/DeviceFrameBuffer.cxx
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2012-04-26 09:04:14 +0000
committerPierre Ossman <ossman@cendio.se>2012-04-26 09:04:14 +0000
commitad8609a2ed4e37dfc1a03f529a45bfe685041da5 (patch)
tree2389b74e74b94a6c8b609a3c481b2b1d42360b4f /win/rfb_win32/DeviceFrameBuffer.cxx
parent8cb45e5e4cd751cd206a2bbea71e6efafcb23540 (diff)
downloadtigervnc-ad8609a2ed4e37dfc1a03f529a45bfe685041da5.tar.gz
tigervnc-ad8609a2ed4e37dfc1a03f529a45bfe685041da5.zip
Fix unsafe usage of the logging functions.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4905 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'win/rfb_win32/DeviceFrameBuffer.cxx')
-rw-r--r--win/rfb_win32/DeviceFrameBuffer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/rfb_win32/DeviceFrameBuffer.cxx b/win/rfb_win32/DeviceFrameBuffer.cxx
index 921e1fa5..cc9bbcad 100644
--- a/win/rfb_win32/DeviceFrameBuffer.cxx
+++ b/win/rfb_win32/DeviceFrameBuffer.cxx
@@ -276,7 +276,7 @@ void DeviceFrameBuffer::setCursor(HCURSOR hCursor, VNCServer* server)
server->setCursor(cursor.width(), cursor.height(), cursor.hotspot,
cursorBm.data, cursor.mask.buf);
} catch (rdr::Exception& e) {
- vlog.error(e.str());
+ vlog.error("%s", e.str());
}
}