diff --git a/source/code/providers/SCX_UnixProcess_Class_Provider.cpp b/source/code/providers/SCX_UnixProcess_Class_Provider.cpp index 78bcb91d..3d8214a7 100644 --- a/source/code/providers/SCX_UnixProcess_Class_Provider.cpp +++ b/source/code/providers/SCX_UnixProcess_Class_Provider.cpp @@ -43,11 +43,13 @@ static void EnumerateOneInstance(Context& context, SCXLogHandle& log = SCXCore::g_ProcessProvider.GetLogHandle(); // Add the key properties first. - scxulong pid; + scxulong pid = 0; if (processinst->GetPID(pid)) { inst.Handle_value(StrToUTF8(StrFrom(pid)).c_str()); } + + SCX_LOGHYSTERICAL(log, StrAppend(L"UnixProcess Provider sending instance for handle: ", StrFrom(pid))); // Add keys of scoping operating system try { @@ -199,6 +201,8 @@ static void EnumerateOneInstance(Context& context, } } context.Post(inst); + + SCX_LOGHYSTERICAL(log, StrAppend(L"UnixProcess Provider sent instance for handle: ", StrFrom(pid))); } SCX_UnixProcess_Class_Provider::SCX_UnixProcess_Class_Provider(