diff --git a/binding.gyp b/binding.gyp index 0b3240d4..9da20c14 100644 --- a/binding.gyp +++ b/binding.gyp @@ -44,7 +44,7 @@ }], ['OS in "os390 zos"', { "defines": [ "_ZOS", "_UNIX03_THREADS" ], - "cflags_cc": ['-Wc,EXPORTALL'], + "cflags_cc": ['-Wc,EXPORTALL', '-qnoconvlit'], 'cflags!': [ '-fno-omit-frame-pointer' ], }], ['OS=="linux"', { diff --git a/src/appmetrics.cpp b/src/appmetrics.cpp index 263bcf2e..bbae4804 100644 --- a/src/appmetrics.cpp +++ b/src/appmetrics.cpp @@ -759,7 +759,7 @@ void init(Local exports, Local module) { * Log startup message with version information */ std::stringstream msg; - msg << "Node Application Metrics " << APPMETRICS_VERSION << " (Agent Core " << nativeString(loaderApi->getAgentVersion()) << ")"; + msg << "Node Application Metrics " << APPMETRICS_VERSION << " (Agent Core " << loaderApi->getAgentVersion() << ")"; loaderApi->logMessage(info, msg.str().c_str()); }