X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fsupport%2Fkill.cpp;h=110becd1ab75ac69ba6fa619263e51cd1249ac3c;hb=e04079aa528ecbf4a8e39ed2b19c3cb50174e151;hp=4e6f173239c02b5dee4ac6ca852fc3c86fbd1a20;hpb=9d0ea8aeff32833a90b3fe64df0c5518a9e241be;p=lyx.git diff --git a/src/support/kill.cpp b/src/support/kill.cpp index 4e6f173239..110becd1ab 100644 --- a/src/support/kill.cpp +++ b/src/support/kill.cpp @@ -3,7 +3,7 @@ * This file is part of LyX, the document processor. * Licence details can be found in the file COPYING. * - * \author Lars Gullik Bjønnes + * \author Lars Gullik Bjønnes * * Full author contact details are available in file CREDITS. */ @@ -34,11 +34,11 @@ int support::kill(int pid, int sig) return -raise(sig); HANDLE hProcess = OpenProcess(PROCESS_ALL_ACCESS, TRUE, pid); if (!hProcess) { - lyxerr << "kill OpenProcess failed!" << std::endl; + LYXERR0("kill OpenProcess failed!"); return -1; } if (!TerminateProcess(hProcess, sig)) { - lyxerr << "kill process failed!" << std::endl; + LYXERR0("kill process failed!"); CloseHandle(hProcess); return -1; }