From a612f3c2ae5d82d5a169fe95e5124dab344d4aa0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Wed, 25 Nov 2009 20:36:24 +0000 Subject: [PATCH] Applied patch by idefix: Canceling the shutdown process will not blame the application that happened to be asked to quit at the time. Thanks a lot! (Fixes #3863) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34253 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/servers/registrar/ShutdownProcess.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/servers/registrar/ShutdownProcess.cpp b/src/servers/registrar/ShutdownProcess.cpp index d8401830e7..41e60cb71c 100644 --- a/src/servers/registrar/ShutdownProcess.cpp +++ b/src/servers/registrar/ShutdownProcess.cpp @@ -1373,10 +1373,10 @@ ShutdownProcess::_WaitForApp(team_id team, AppInfoList* list, bool systemApps) if (eventTeam == team) return false; } else { - PRINT(("ShutdownProcess::_QuitApps(): shutdown cancelled " + PRINT(("ShutdownProcess::_WaitForApp(): shutdown cancelled " "by team %ld (-1 => user)\n", eventTeam)); - _DisplayAbortingApp(team); + _DisplayAbortingApp(eventTeam); throw_error(B_SHUTDOWN_CANCELLED); } }