mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-28 07:24:37 +00:00
kshell: Update error messages
This commit is contained in:
parent
a2e9747ee8
commit
ea9aa8c674
@ -601,14 +601,14 @@ void KShellThread()
|
|||||||
pcb = TaskManager->GetProcessByID(ret);
|
pcb = TaskManager->GetProcessByID(ret);
|
||||||
if (pcb == nullptr)
|
if (pcb == nullptr)
|
||||||
{
|
{
|
||||||
printf("Failed to get process by ID\n");
|
printf("KShell: Failed to get process by ID\n");
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
pcb->SetWorkingDirectory(cwd);
|
pcb->SetWorkingDirectory(cwd);
|
||||||
tcb = TaskManager->GetThreadByID(ret, pcb);
|
tcb = TaskManager->GetThreadByID(ret, pcb);
|
||||||
if (tcb == nullptr)
|
if (tcb == nullptr)
|
||||||
{
|
{
|
||||||
printf("Failed to get thread by ID\n");
|
printf("KShell: Failed to get thread by ID\n");
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
TaskManager->WaitForThread(tcb);
|
TaskManager->WaitForThread(tcb);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user