kshell: Update error messages

This commit is contained in:
EnderIce2 2024-10-13 15:15:32 +03:00
parent a2e9747ee8
commit ea9aa8c674
Signed by untrusted user who does not match committer: enderice2
GPG Key ID: EACC3AD603BAB4DD

View File

@ -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);