]> git.lyx.org Git - lyx.git/blobdiff - src/support/kill.cpp
Fixup to 33b696c8: fix compilation with gcc 4.6
[lyx.git] / src / support / kill.cpp
index 4e6f173239c02b5dee4ac6ca852fc3c86fbd1a20..110becd1ab75ac69ba6fa619263e51cd1249ac3c 100644 (file)
@@ -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;
        }