From: Ben Gras Date: Mon, 12 Apr 2010 11:06:15 +0000 (+0000) Subject: ipc server: don't print as many errors, to make ipc test less noisy. X-Git-Tag: v3.1.7~155 X-Git-Url: http://zhaoyanbai.com/repos/?a=commitdiff_plain;h=76fbf210263a4b9b73e6c61977d65fe570b70ec9;p=minix.git ipc server: don't print as many errors, to make ipc test less noisy. --- diff --git a/servers/ipc/sem.c b/servers/ipc/sem.c index a6a9c2330..496049e4f 100644 --- a/servers/ipc/sem.c +++ b/servers/ipc/sem.c @@ -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 */