diff --git a/wsudo/wsudotietrace.cc b/wsudo/wsudotietrace.cc index 60a0021e..aae2b2ef 100644 --- a/wsudo/wsudotietrace.cc +++ b/wsudo/wsudotietrace.cc @@ -92,7 +92,7 @@ class ReportHelper { return -1; } auto um = - bela::narrow::StringCat("[DEBUG] ", TimeNow(), " [", GetCurrentProcessId(), "] ", bela::ToNarrow(msg), "\n"); + bela::narrow::StringCat("[ERROR] ", TimeNow(), " [", GetCurrentProcessId(), "] ", bela::ToNarrow(msg), "\n"); DWORD written = 0; if (WriteFile(fd, um.data(), static_cast(um.size()), &written, nullptr) != TRUE) { return -1; @@ -126,4 +126,4 @@ int WriteError(std::wstring_view msg) { return TraceHelper::Instance().WriteMessage(msg); } -} // namespace wsudo::tie \ No newline at end of file +} // namespace wsudo::tie