summaryrefslogtreecommitdiff
path: root/Bus
diff options
context:
space:
mode:
Diffstat (limited to 'Bus')
-rw-r--r--Bus/IvyProbe/IvyProbeDlg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bus/IvyProbe/IvyProbeDlg.cpp b/Bus/IvyProbe/IvyProbeDlg.cpp
index d64c616..b29fd72 100644
--- a/Bus/IvyProbe/IvyProbeDlg.cpp
+++ b/Bus/IvyProbe/IvyProbeDlg.cpp
@@ -239,7 +239,7 @@ void CIvyProbeDlg::WriteMessage(const char *format, ...)
// format and write the data we were given
va_list args;
va_start(args, format);
- vsprintf(str, format, args);
+ _vsnprintf(str, sizeof(str), format, args);
m_text.AppendString( str );
}