summaryrefslogtreecommitdiff
path: root/ndb/src/cw/cpcd/CPCD.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ndb/src/cw/cpcd/CPCD.cpp')
-rw-r--r--ndb/src/cw/cpcd/CPCD.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/ndb/src/cw/cpcd/CPCD.cpp b/ndb/src/cw/cpcd/CPCD.cpp
index bc9f350755f..69a7b840528 100644
--- a/ndb/src/cw/cpcd/CPCD.cpp
+++ b/ndb/src/cw/cpcd/CPCD.cpp
@@ -237,9 +237,9 @@ CPCD::saveProcessList(){
FILE *f;
/* Create the filenames that we will use later */
- snprintf(newfile, sizeof(newfile), "%s.new", m_procfile.c_str());
- snprintf(oldfile, sizeof(oldfile), "%s.old", m_procfile.c_str());
- snprintf(curfile, sizeof(curfile), "%s", m_procfile.c_str());
+ BaseString::snprintf(newfile, sizeof(newfile), "%s.new", m_procfile.c_str());
+ BaseString::snprintf(oldfile, sizeof(oldfile), "%s.old", m_procfile.c_str());
+ BaseString::snprintf(curfile, sizeof(curfile), "%s", m_procfile.c_str());
f = fopen(newfile, "w");
@@ -380,7 +380,7 @@ CPCD::getProcessList() {
void
CPCD::RequestStatus::err(enum RequestStatusCode status, const char *msg) {
m_status = status;
- snprintf(m_errorstring, sizeof(m_errorstring), "%s", msg);
+ BaseString::snprintf(m_errorstring, sizeof(m_errorstring), "%s", msg);
}
#if 0