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)
opt = m->SEMCTL_OPT;
if (!(sem = sem_find_id(id))) {
- printf("IPC: not found %d\n", id);
return EINVAL;
}
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 */