mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-25 22:14: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);
|
||||
if (pcb == nullptr)
|
||||
{
|
||||
printf("Failed to get process by ID\n");
|
||||
printf("KShell: Failed to get process by ID\n");
|
||||
continue;
|
||||
}
|
||||
pcb->SetWorkingDirectory(cwd);
|
||||
tcb = TaskManager->GetThreadByID(ret, pcb);
|
||||
if (tcb == nullptr)
|
||||
{
|
||||
printf("Failed to get thread by ID\n");
|
||||
printf("KShell: Failed to get thread by ID\n");
|
||||
continue;
|
||||
}
|
||||
TaskManager->WaitForThread(tcb);
|
||||
|
Loading…
x
Reference in New Issue
Block a user