]> Zhao Yanbai Git Server - minix.git/commitdiff
ipc server: don't print as many errors, to make ipc test less noisy.
authorBen Gras <ben@minix3.org>
Mon, 12 Apr 2010 11:06:15 +0000 (11:06 +0000)
committerBen Gras <ben@minix3.org>
Mon, 12 Apr 2010 11:06:15 +0000 (11:06 +0000)
servers/ipc/sem.c

index a6a9c233080379d0fd9e341b93d522b0a27cf957..496049e4f7caa04a8ba48a7c4540ff313dfd0a07 100644 (file)
@@ -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 */