ipc server: don't print as many errors, to make ipc test less noisy.
This commit is contained in:
parent
66a8efba53
commit
76fbf21026
1 changed files with 2 additions and 7 deletions
|
@ -104,9 +104,7 @@ PRIVATE void send_message_to_process(endpoint_t who, int ret, int ignore)
|
|||
int r;
|
||||
|
||||
m.m_type = ret;
|
||||
r = sendnb(who, &m);
|
||||
if (r != OK && !ignore)
|
||||
printf("IPC send error!\n");
|
||||
sendnb(who, &m);
|
||||
}
|
||||
|
||||
PRIVATE void remove_semaphore(struct sem_struct *sem)
|
||||
|
@ -298,7 +296,6 @@ PUBLIC int do_semctl(message *m)
|
|||
opt = m->SEMCTL_OPT;
|
||||
|
||||
if (!(sem = sem_find_id(id))) {
|
||||
printf("IPC: not found %d\n", id);
|
||||
return EINVAL;
|
||||
}
|
||||
|
||||
|
@ -579,9 +576,7 @@ out:
|
|||
if (r != OK || !no_reply) {
|
||||
m->m_type = r;
|
||||
|
||||
r = sendnb(who_e, m);
|
||||
if (r != OK)
|
||||
printf("IPC send error!\n");
|
||||
sendnb(who_e, m);
|
||||
}
|
||||
|
||||
/* awaken process if possible */
|
||||
|
|
Loading…
Reference in a new issue