diff options
Diffstat (limited to 'ndb/src/mgmsrv/main.cpp')
-rw-r--r-- | ndb/src/mgmsrv/main.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ndb/src/mgmsrv/main.cpp b/ndb/src/mgmsrv/main.cpp index 1a2b95391a9..51282416c24 100644 --- a/ndb/src/mgmsrv/main.cpp +++ b/ndb/src/mgmsrv/main.cpp @@ -131,6 +131,7 @@ int num_args = sizeof(args) / sizeof(args[0]); */ NDB_MAIN(mgmsrv){ ndb_init(); + /** * OSE specific. Enable shared ownership of file system resources. * This is needed in order to use the cluster log since the events @@ -266,12 +267,12 @@ NDB_MAIN(mgmsrv){ mapi->setMgm(glob.mgmObject); char msg[256]; - snprintf(msg, sizeof(msg), + BaseString::snprintf(msg, sizeof(msg), "NDB Cluster Management Server. %s", NDB_VERSION_STRING); ndbout_c(msg); g_EventLogger.info(msg); - snprintf(msg, 256, "Id: %d, Command port: %d", + BaseString::snprintf(msg, 256, "Id: %d, Command port: %d", glob.localNodeId, glob.port); ndbout_c(msg); g_EventLogger.info(msg); |