diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2004-03-26 16:24:24 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2004-03-26 16:24:24 +0000 |
commit | 6b0d86c56d6082cdc5c403d063530a1114b9bda1 (patch) | |
tree | 6efecdfe528b770c9fc44c9b4690cdd39f2ac7db /winsup/cygwin/sem.cc | |
parent | 85427a949aefae40a57ee940ad90488f6e0965c5 (diff) | |
download | newlib-6b0d86c56d6082cdc5c403d063530a1114b9bda1.zip newlib-6b0d86c56d6082cdc5c403d063530a1114b9bda1.tar.gz newlib-6b0d86c56d6082cdc5c403d063530a1114b9bda1.tar.bz2 |
* sem.cc (semget): Fix debug string.
(semop): Ditto.
* shm.cc (fixup_shms_after_fork): Ditto.
(shmat): Ditto.
(shmdt): Ditto.
(shmget): Ditto.
Diffstat (limited to 'winsup/cygwin/sem.cc')
-rw-r--r-- | winsup/cygwin/sem.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/sem.cc b/winsup/cygwin/sem.cc index 3dfaf42..c623db1 100644 --- a/winsup/cygwin/sem.cc +++ b/winsup/cygwin/sem.cc @@ -136,7 +136,7 @@ semget (key_t key, int nsems, int semflg) client_request_sem request (key, nsems, semflg); if (request.make_request () == -1 || request.retval () == -1) { - syscall_printf ("-1 [%d] = semctl ()", request.error_code ()); + syscall_printf ("-1 [%d] = semget ()", request.error_code ()); set_errno (request.error_code ()); if (request.error_code () == ENOSYS) raise (SIGSYS); @@ -161,7 +161,7 @@ semop (int semid, struct sembuf *sops, size_t nsops) client_request_sem request (semid, sops, nsops); if (request.make_request () == -1 || request.retval () == -1) { - syscall_printf ("-1 [%d] = semctl ()", request.error_code ()); + syscall_printf ("-1 [%d] = semop ()", request.error_code ()); set_errno (request.error_code ()); if (request.error_code () == ENOSYS) raise (SIGSYS); |