tThread *thread;
tMsg *msg;
- ENTER("pErr iDest iLength pData", Err, Dest, Length, Data);
+ ENTER("iDest iLength pData", Dest, Length, Data);
if(Length <= 0 || !Data) {
errno = -EINVAL;
// Get thread
thread = Threads_GetThread( Dest );
-
- // Error check
if(!thread) LEAVE_RET('i', -1);
+ LOG("Destination %p(%i %s)", thread, thread->TID, thread->ThreadName);
// Get Spinlock
SHORTLOCK( &thread->IsLocked );